summaryrefslogtreecommitdiff
path: root/common/menu.c
diff options
context:
space:
mode:
authorJason Jin <Jason.jin@freescale.com>2011-08-25 15:46:43 +0800
committerWolfgang Denk <wd@denx.de>2011-10-17 22:25:33 +0200
commit5c1d082b145527ac7c10bfe794cd72643e045d8d (patch)
treed06f32a4c1cef8ba07fe5c7285747888206788e9 /common/menu.c
parente5afdf584c1e217b19579ba88e415ff8eb657fd8 (diff)
downloadu-boot-imx-5c1d082b145527ac7c10bfe794cd72643e045d8d.zip
u-boot-imx-5c1d082b145527ac7c10bfe794cd72643e045d8d.tar.gz
u-boot-imx-5c1d082b145527ac7c10bfe794cd72643e045d8d.tar.bz2
DM9000:Add a byte swap macro for dm9000 io operation.
commit a45dde2293c816138e53c26eca6fd0322583f9a6 changed the dm9000 direct register access to standard IO. This should work on the ColdFire platform as there are corresponding macros for the LE devices. But the hardware settings on some ColdFire boards had swapped the byte order which make the original macros such as out_le16 cannot work. To avoid changing the common io access code on ColdFire platform, the DM9000_BYTE_SWAPPED define was added to make the dm9000 use __raw* IO access on some ColdFire boards. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Diffstat (limited to 'common/menu.c')
0 files changed, 0 insertions, 0 deletions