diff options
author | Heiko Schocher <hs@pollux.denx.de> | 2007-01-19 18:05:26 +0100 |
---|---|---|
committer | Heiko Schocher <hs@pollux.denx.de> | 2007-01-19 18:05:26 +0100 |
commit | d0b6e14087ddd8789f224a48e1d33f2a5df4d167 (patch) | |
tree | db948490049a7d812852fe6f86c85104b66ef7df /include/configs | |
parent | cb4820725e9fc409c5cbc8e83054a6ed522d2111 (diff) | |
download | u-boot-imx-d0b6e14087ddd8789f224a48e1d33f2a5df4d167.zip u-boot-imx-d0b6e14087ddd8789f224a48e1d33f2a5df4d167.tar.gz u-boot-imx-d0b6e14087ddd8789f224a48e1d33f2a5df4d167.tar.bz2 |
[PATCH] CFI: define CFG_WRITE_SWAPPED_DATA for the CFI-Flash driver
if you must swap the bytes between reading/writing.
(Needed for the SC3 board)
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/sc3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/sc3.h b/include/configs/sc3.h index a4a1605..bf2af99 100644 --- a/include/configs/sc3.h +++ b/include/configs/sc3.h @@ -119,6 +119,8 @@ "net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0" \ "rootpath=/opt/eldk/ppc_4xx\0" \ "bootfile=/tftpboot/sc3/uImage\0" \ + "u-boot=/tftpboot/sc3/u-boot.bin\0" \ + "setup=tftp 200000 /tftpboot/sc3/setup.img;autoscr 200000\0" \ "kernel_addr=FFE08000\0" \ "" #undef CONFIG_BOOTCOMMAND @@ -384,6 +386,7 @@ extern unsigned long offsetOfEnvironment; #define CFG_FLASH_QUIET_TEST 1 /* don't warn upon unknown flash*/ #define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */ #define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */ +#define CFG_WRITE_SWAPPED_DATA /* swap Databytes between reading/writing */ #define CFG_ENV_IS_IN_FLASH 1 #if CFG_ENV_IS_IN_FLASH |