diff options
author | pekon gupta <pekon@ti.com> | 2014-07-18 16:29:42 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-26 00:26:12 +0400 |
commit | 434f2cfcad9f70231ad5a096325ba72ef0d2a2cc (patch) | |
tree | 82a3f5dcec21d63f482868eab003308e5e4ecc3c /include/configs/cm_t335.h | |
parent | 222a3113b46c4a16de3f51747201ca6565c8ee6a (diff) | |
download | u-boot-434f2cfcad9f70231ad5a096325ba72ef0d2a2cc.tar.xz |
ARM: omap: move board specific NAND configs out from ti_armv7_common.h
This patch moves some board specific NAND configs:
- FROM: generic config file 'ti_armv7_common.h'
- TO: individual board config files using these configs.
So that each board can independently set the value as per its design.
Following configs are affected in this patch:
CONFIG_SYS_NAND_U_BOOT_OFFS: <refer doc/README.nand>
CONFIG_CMD_SPL_NAND_OFS: <refer doc/README.falcon>
CONFIG_SYS_NAND_SPL_KERNEL_OFFS: <refer doc/README.falcon>
CONFIG_CMD_SPL_WRITE_SIZE: <refer doc/README.falcon>
This patch also updates documentation for few of above NAND configs.
Signed-off-by: Pekon Gupta <pekon@ti.com>
Diffstat (limited to 'include/configs/cm_t335.h')
-rw-r--r-- | include/configs/cm_t335.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h index 4d1dd28a91..a3e6452ec1 100644 --- a/include/configs/cm_t335.h +++ b/include/configs/cm_t335.h @@ -150,6 +150,11 @@ #define CONFIG_ENV_OFFSET 0x300000 /* environment starts here */ #define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */ #define CONFIG_SYS_NAND_ONFI_DETECTION +#ifdef CONFIG_SPL_OS_BOOT +#define CONFIG_CMD_SPL_NAND_OFS 0x400000 /* un-assigned: (using dtb) */ +#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x500000 +#define CONFIG_CMD_SPL_WRITE_SIZE 0x2000 +#endif /* GPIO pin + bank to pin ID mapping */ #define GPIO_PIN(_bank, _pin) ((_bank << 5) + _pin) |