summaryrefslogtreecommitdiff
path: root/include/configs/embestmx6boards.h
diff options
context:
space:
mode:
authorFabien Lahoudere <fabien.lahoudere@collabora.com>2018-11-08 13:28:05 +0300
committerStefano Babic <sbabic@denx.de>2019-01-01 16:12:18 +0300
commit725019bebeb681bab123a323e8a21ca858277c3d (patch)
treee3bb49cc0de0c25e9e8824b76874d48dc23d8a2f /include/configs/embestmx6boards.h
parent0b366cf2b01dee62b6084b515046cb9e6ce5305f (diff)
downloadu-boot-725019bebeb681bab123a323e8a21ca858277c3d.tar.xz
embestmx6boards: Add SPL support
In order to boot faster with falcon mode, we need to add SPL support to riotboard. Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Diffstat (limited to 'include/configs/embestmx6boards.h')
-rw-r--r--include/configs/embestmx6boards.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h
index 71217f07e2..7e7de4dae6 100644
--- a/include/configs/embestmx6boards.h
+++ b/include/configs/embestmx6boards.h
@@ -109,6 +109,19 @@
#include "mx6_common.h"
+#ifdef CONFIG_SPL
+#include "imx6_spl.h"
+/* RiOTboard */
+#define CONFIG_SYS_SPL_ARGS_ADDR 0x13000000
+#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
+#define CONFIG_SPL_FS_LOAD_ARGS_NAME "imx6dl-riotboard.dtb"
+
+#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0 /* offset 69KB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* offset 69KB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* offset 69KB */
+
+#endif
+
/* 256M RAM (minimum), 32M uncompressed kernel, 16M compressed kernel, 1M fdt,
* 1M script, 1M pxe and the ramdisk at the end */
#define MEM_LAYOUT_ENV_SETTINGS \