summaryrefslogtreecommitdiff
path: root/include/configs/brppt1.h
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-07-08 06:18:22 +0300
committerTom Rini <trini@konsulko.com>2018-07-23 02:20:17 +0300
commit9c5b00973bceb7c0192bd6b03672d69b092700b4 (patch)
treedadc7a414af100765a8adf9fe99f4f33722608ec /include/configs/brppt1.h
parent8d0d6bc121ef403ae601920ee29d53fa03cfb4b9 (diff)
downloadu-boot-9c5b00973bceb7c0192bd6b03672d69b092700b4.tar.xz
Convert CONFIG_MTD_PARTITIONS et al to Kconfig
This converts the following to Kconfig: CONFIG_MTD_PARTITIONS CONFIG_MTD_DEVICE Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'include/configs/brppt1.h')
-rw-r--r--include/configs/brppt1.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h
index aa476f6355..5badd2da8b 100644
--- a/include/configs/brppt1.h
+++ b/include/configs/brppt1.h
@@ -41,9 +41,20 @@
* both for ease of use in U-Boot and for passing information on to
* the Linux kernel.
*/
-#if defined(CONFIG_NAND)
-#define CONFIG_MTD_DEVICE /* Required for mtdparts */
-#endif
+
+#ifdef CONFIG_SPL_OS_BOOT
+#define CONFIG_SYS_SPL_ARGS_ADDR 0x80F80000
+
+/* RAW SD card / eMMC */
+#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0x900 /* address 0x120000 */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x80 /* address 0x10000 */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0x80 /* 64KiB */
+
+/* NAND */
+#ifdef CONFIG_NAND
+#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x140000
+#endif /* CONFIG_NAND */
+#endif /* CONFIG_SPL_OS_BOOT */
#ifdef CONFIG_NAND
#define CONFIG_SPL_NAND_BASE