omap3_logic: Move CONFIG_SYS_NAND_U_BOOT_OFFS to Kconfig
PATCH 1/1 omap3_logic: Move CONFIG_SYS_NAND_U_BOOT_OFFS to Kconfig
Manually enable SYS_NAND_U_BOOT_LOCATIONS.
Set CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000 and remove it from header
Signed-off-by Adam Ford <[email protected]>
--- configs/omap3_logic_defconfig | 4 +++- include/configs/omap3_logic.h | 1 - 2 files changed, 3 insertions(+), 2 deletions(-)
configs/omap3_logic_defconfig +3 -1
@@ -22,10 +22,10 @@ CONFIG_CMD_SPL=y CONFIG_CMD_SPL_NAND_OFS=0x240000 # CONFIG_CMD_EEPROM is not set # CONFIG_CMD_FLASH is not set +# CONFIG_CMD_FPGA is not set CONFIG_CMD_NAND=y CONFIG_CMD_NAND_LOCK_UNLOCK=y # CONFIG_CMD_USB is not set -# CONFIG_CMD_FPGA is not set CONFIG_CMD_CACHE=y CONFIG_CMD_UBI=y CONFIG_ISO_PARTITION=y
@@ -36,6 +36,8 @@ CONFIG_DM_MMC=y CONFIG_MMC_OMAP_HS=y CONFIG_MMC_OMAP36XX_PINS=y CONFIG_NAND=y +CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y +CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000 CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_MUSB_GADGET=y
include/configs/omap3_logic.h +0 -1
@@ -97,7 +97,6 @@#define CONFIG_BCH #define CONFIG_SYS_NAND_MAX_OOBFREE 2#define CONFIG_SYS_NAND_MAX_ECCPOS 56 -#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ #define CONFIG_MTD_PARTITIONS /* required for UBI partition support */ #define MTDIDS_DEFAULT "nand0=omap2-nand.0"
Signature · 1 line
2.7.4
Quoted 4 lines · Adam Ford
Manually enable
SYS_NAND_U_BOOT_LOCATIONS.
SetCONFIG_SYS_NAND_U_BOOT_OFFS=0x80000and remove it from headerSigned-off-by Adam Ford <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170902/9ca44dc1/attachment.sig>