Message ID | 20170116140427.29283-61-sjg@chromium.org |
---|---|
State | Accepted |
Commit | c17c4228543396e1eac27ed522d90b2fc578529a |
Delegated to: | Bin Meng |
Headers | show |
On Mon, Jan 16, 2017 at 10:04 PM, Simon Glass <sjg@chromium.org> wrote: > 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> > --- > > Changes in v3: > - Remove duplicate CONFIG_VIDEO_IVYBRIDGE_IGD in defconfig file > - Drop the unnecessary defconfig changes for chromebook_link > > Changes in v2: None > > include/configs/chromebook_link.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
On Tue, Jan 17, 2017 at 12:35 PM, Bin Meng <bmeng.cn@gmail.com> wrote: > On Mon, Jan 16, 2017 at 10:04 PM, Simon Glass <sjg@chromium.org> wrote: >> 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> >> --- >> >> Changes in v3: >> - Remove duplicate CONFIG_VIDEO_IVYBRIDGE_IGD in defconfig file >> - Drop the unnecessary defconfig changes for chromebook_link >> >> Changes in v2: None >> >> include/configs/chromebook_link.h | 9 +++++++++ >> 1 file changed, 9 insertions(+) >> > > Reviewed-by: Bin Meng <bmeng.cn@gmail.com> applied to u-boot-x86, thanks!
diff --git a/include/configs/chromebook_link.h b/include/configs/chromebook_link.h index f2d798a52f0..b116a27869a 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 */
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> --- Changes in v3: - Remove duplicate CONFIG_VIDEO_IVYBRIDGE_IGD in defconfig file - Drop the unnecessary defconfig changes for chromebook_link Changes in v2: None include/configs/chromebook_link.h | 9 +++++++++ 1 file changed, 9 insertions(+)