x86: Add a simple TPL implementation
Add the required CPU code so that TPL builds correctly. Also update the SPL code to deal with being booted from TPL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -18,9 +18,6 @@
|
||||
#define CONFIG_ENV_SECT_SIZE 0x1000
|
||||
#define CONFIG_ENV_OFFSET 0x003f8000
|
||||
|
||||
#define BOOT_DEVICE_SPI 10
|
||||
|
||||
#define CONFIG_SPL_BOARD_LOAD_IMAGE
|
||||
#define BOOT_DEVICE_BOARD 11
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
@@ -33,11 +33,6 @@
|
||||
#define CONFIG_SYS_ATA_IDE1_OFFSET 0x170
|
||||
#define CONFIG_ATAPI
|
||||
|
||||
/* SPI is not supported */
|
||||
|
||||
#define BOOT_DEVICE_SPI 10
|
||||
|
||||
#define CONFIG_SPL_BOARD_LOAD_IMAGE
|
||||
#define BOOT_DEVICE_BOARD 11
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
Reference in New Issue
Block a user