summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokanathan, Raaj <raaj.lokanathan@intel.com>2022-01-14 17:51:27 +0800
committerLokanathan, Raaj <raaj.lokanathan@intel.com>2022-01-27 19:47:55 +0800
commited267699c8133c838a4c4a2fbfa8edc9f9b7b246 (patch)
tree0acd88fdd77e0171c3dd48f637d66e20dbf78ebc
parent2e068582ce9f9b49a44d38313750f0a14c7283b5 (diff)
downloadu-boot-socfpga-ed267699c8133c838a4c4a2fbfa8edc9f9b7b246.tar.gz
Follow mainline to convert CONFIG_SYS_NAND_U_BOOT_LOCATIONS et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_NAND_U_BOOT_LOCATIONS CONFIG_SYS_NAND_U_BOOT_OFFS Signed-off-by: Lokanathan, Raaj <raaj.lokanathan@intel.com>
-rw-r--r--configs/socfpga_arria10_nand_defconfig2
-rw-r--r--include/configs/socfpga_arria10_socdk.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/configs/socfpga_arria10_nand_defconfig b/configs/socfpga_arria10_nand_defconfig
index e0167a14e0..c9dbd995a1 100644
--- a/configs/socfpga_arria10_nand_defconfig
+++ b/configs/socfpga_arria10_nand_defconfig
@@ -25,6 +25,8 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_arria10_socdk_nand.dtb"
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
+CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
+CONFIG_SYS_NAND_U_BOOT_OFFS=0x100000
CONFIG_DISPLAY_BOARDINFO_LATE=y
CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FPGA=y
diff --git a/include/configs/socfpga_arria10_socdk.h b/include/configs/socfpga_arria10_socdk.h
index e18175c2a5..a98b379ded 100644
--- a/include/configs/socfpga_arria10_socdk.h
+++ b/include/configs/socfpga_arria10_socdk.h
@@ -22,6 +22,7 @@
*/
#define CONFIG_SYS_NS16550_MEM32
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200}
+#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x100000
/*
* L4 OSC1 Timer 0