diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-06 16:10:56 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-06 16:10:56 +0000 |
commit | 0590b0ff858851fd37b74a3417fe4a0290a85965 (patch) | |
tree | d8d83740196094ba8af3cedce984d756ad41787f /target | |
parent | d5e3c2c55a5c8701892492b25f0a4e0f2d10f04d (diff) | |
download | buildroot-novena-0590b0ff858851fd37b74a3417fe4a0290a85965.tar.gz buildroot-novena-0590b0ff858851fd37b74a3417fe4a0290a85965.zip |
Fix some CFG/CONFIG related problems for AT91RM9200 configuration of U-Boot
Diffstat (limited to 'target')
-rw-r--r-- | target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-002-at91rm9200dk.h.patch | 2 | ||||
-rw-r--r-- | target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-004-at91rm9200ek.patch | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-002-at91rm9200dk.h.patch b/target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-002-at91rm9200dk.h.patch index c86dcdea9..2e7e57822 100644 --- a/target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-002-at91rm9200dk.h.patch +++ b/target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-002-at91rm9200dk.h.patch @@ -182,7 +182,7 @@ diff -urN u-boot-2009.01-rc1-0rig//include/configs/at91rm9200dk_df.h u-boot-2009 +#define CONFIG_SYS_MAX_DATAFLASH_PAGES 16384 +#define CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 0xC0000000 /* Logical adress for CS0 */ +#define CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS3 0xD0000000 /* Logical adress for CS3 */ -+#define CFG_SUPPORT_BLOCK_ERASE 1 ++#define CONFIG__SUPPORT_BLOCK_ERASE 1 + + +#define PHYS_FLASH_1 0x10000000 diff --git a/target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-004-at91rm9200ek.patch b/target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-004-at91rm9200ek.patch index f979dd3d6..4d22c5334 100644 --- a/target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-004-at91rm9200ek.patch +++ b/target/u-boot/2009.01-rc1/u-boot-2009.01-rc1-004-at91rm9200ek.patch @@ -133,8 +133,8 @@ diff -urN u-boot-2009.01-0rig/include/configs/at91rm9200df.h u-boot-2009.01/incl +#define CONFIG_DOS_PARTITION 1 +#define CONFIG_MMC 1 +#define CONFIG_SUPPORT_VFAT 1 -+#define CFG_MMC_BASE 0xFFFB4000 /* From AT91RM9200.h*/ -+#define CFG_MMC_BLOCKSIZE 512 ++#define CONFIG__MMC_BASE 0xFFFB4000 /* From AT91RM9200.h*/ ++#define CONFIG__MMC_BLOCKSIZE 512 + +#define CONFIG_NAND_LEGACY + @@ -185,14 +185,14 @@ diff -urN u-boot-2009.01-0rig/include/configs/at91rm9200df.h u-boot-2009.01/incl +#define DATAFLASH_TCHS (0x1 << 24) + +#define CONFIG_HAS_DATAFLASH 1 -+#define BOARD_LATE_INIT 1 ++#undef BOARD_LATE_INIT + +#define CONFIG_SYS_SPI_WRITE_TOUT (5*CONFIG_SYS_HZ) +#define CONFIG_SYS_MAX_DATAFLASH_BANKS 2 +#define CONFIG_SYS_MAX_DATAFLASH_PAGES 16384 +#define CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 0xC0000000 /* Logical adress for CS0 */ +#define CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS3 0xD0000000 /* Logical adress for CS3 */ -+#define CFG_SUPPORT_BLOCK_ERASE 1 ++#define CONFIG__SUPPORT_BLOCK_ERASE 1 + +#define PHYS_FLASH_1 0x10000000 +#define PHYS_FLASH_SIZE 0x800000 /* 2 megs main flash */ @@ -447,7 +447,7 @@ diff -urN u-boot-2009.01-0rig/include/configs/at91rm9200ek.h u-boot-2009.01/incl +#define CONFIG_SYS_MAX_DATAFLASH_PAGES 16384 +#define CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 0xC0000000 /* Logical adress for CS0 */ +#define CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS3 0xD0000000 /* Logical adress for CS3 */ -+#define CFG_SUPPORT_BLOCK_ERASE 1 ++#define CONFIG__SUPPORT_BLOCK_ERASE 1 + +#define PHYS_FLASH_1 0x10000000 +#define PHYS_FLASH_SIZE 0x800000 /* 2 megs main flash */ @@ -462,9 +462,9 @@ diff -urN u-boot-2009.01-0rig/include/configs/at91rm9200ek.h u-boot-2009.01/incl + +#ifdef CONFIG_ENV_IS_IN_DATAFLASH +#ifdef CONFIG_NEW_PARTITION -+#define CFG_ENV_OFFSET 0x21000 -+#define CFG_ENV_ADDR (CFG_DATAFLASH_LOGIC_ADDR_CS0 + CFG_ENV_OFFSET) -+#define CFG_ENV_SIZE 0x2000 /* 8 * 1056 really , but start.s is not OK with this*/ ++#define CONFIG__ENV_OFFSET 0x21000 ++#define CONFIG__ENV_ADDR (CONFIG_SYS__DATAFLASH_LOGIC_ADDR_CS0 + CONFIG__ENV_OFFSET) ++#define CONFIG__ENV_SIZE 0x2000 /* 8 * 1056 really , but start.s is not OK with this*/ +> #else +#define CONFIG_ENV_OFFSET 0x20000 +#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + CONFIG_ENV_OFFSET) |