From d0b6e14087ddd8789f224a48e1d33f2a5df4d167 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Fri, 19 Jan 2007 18:05:26 +0100 Subject: [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 --- include/configs/sc3.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/configs/sc3.h') diff --git a/include/configs/sc3.h b/include/configs/sc3.h index a4a160546..bf2af9923 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 -- cgit v1.2.3