arm: baltos: move CONFIG_SYS_NAND_U_BOOT_OFFS to defconfig
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 22 Nov 2018 08:19:32 +0000 (09:19 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 3 Dec 2018 15:44:10 +0000 (10:44 -0500)
Also get rid of CONFIG_SYS_NAND_SPL_KERNEL_OFFS as SPL_OS_BOOT
feature won't be used.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/am335x_baltos_defconfig
include/configs/baltos.h

index 4e68956b7ceda7e20ff52e76815e144a0e4be7e4..74fd48709755a75fa6581fa8d6ac6d5a2bd0cd75 100644 (file)
@@ -47,6 +47,8 @@ CONFIG_DM_MMC=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_MMC_OMAP_HS_ADMA=y
 CONFIG_NAND=y
+CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
+CONFIG_SYS_NAND_U_BOOT_OFFS=0x00080000
 CONFIG_PHY_ADDR_ENABLE=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
index 006b049d09d71eeb1a5afc67362052ebc8cb1191..7b5f652f7e7d58304dc93757bb5a8d3f728a675e 100644 (file)
 /* FIT support */
 #define CONFIG_SYS_BOOTM_LEN         SZ_64M
 
-/* UBI Support */
-
-/* I2C configuration */
-
 #ifdef CONFIG_NAND
-#define CONFIG_SYS_NAND_U_BOOT_OFFS    0x00080000
-#ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */
-#endif
+
 #define NANDARGS \
        "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
        "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \