summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-16 07:04:25 -0700
committerBin Meng <bmeng.cn@gmail.com>2017-02-07 13:11:04 +0800
commitc17c4228543396e1eac27ed522d90b2fc578529a (patch)
treeea2ab002c2209bb0381dbbb1cf2125044537ea2b /include
parent6935dc1b7d660301e254fc3846fa0aafe88a1e00 (diff)
downloadu-boot-imx-c17c4228543396e1eac27ed522d90b2fc578529a.zip
u-boot-imx-c17c4228543396e1eac27ed522d90b2fc578529a.tar.gz
u-boot-imx-c17c4228543396e1eac27ed522d90b2fc578529a.tar.bz2
x86: link: Add build options for SPL
If SPL is used we want to use the generic SPL framework and boot from SPI via a board-specific means. Add these options to the board config file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/chromebook_link.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/chromebook_link.h b/include/configs/chromebook_link.h
index f2d798a..b116a27 100644
--- a/include/configs/chromebook_link.h
+++ b/include/configs/chromebook_link.h
@@ -19,4 +19,13 @@
#define CONFIG_ENV_SECT_SIZE 0x1000
#define CONFIG_ENV_OFFSET 0x003f8000
+#define CONFIG_SPL_FRAMEWORK
+
+#define CONFIG_SPL_TEXT_BASE 0xfffd0000
+
+#define BOOT_DEVICE_SPI 10
+
+#define CONFIG_SPL_BOARD_LOAD_IMAGE
+#define BOOT_DEVICE_BOARD 11
+
#endif /* __CONFIG_H */