diff options
author | Michal Simek <monstr@monstr.eu> | 2011-01-26 13:41:05 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-01-28 14:04:36 +0100 |
commit | 026a2078791b64aede220b1b1a3e4dfe4ab175e7 (patch) | |
tree | 069d401f5149a429736da6620d2c731d4186f399 /arch/xtensa | |
parent | 1f0324caefd39985e9fe052fac97da31694db31e (diff) |
microblaze: Fix DTB passing from bootloader
Little endian system needs to check OF_DT_HEADER
but it is swapped because it is in big-endian.
Microblaze LE provides lwr instruction which loads
magic number in BIG endian format which can be compared.
There is used the fact that if you write 0x1 as word
and load it as byte then you get for big-endian zero
and 1 for little-endian.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions