Skip to contentSkip to conversation

configs: socfpga: soc64: Disable CONFIG_SPL_RAW_IMAGE_SUPPORT

PATCH New Jit Loon Lim 1 participant 1 message Dec 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: socfpga: soc64: Disable CONFIG_SPL_RAW_IMAGE_SUPPORT

From: Sin Hui Kho <[email protected]>

Enable the SPL to support loading u-boot image with header or in FIT format only. SPL shall proceed to the next boot device in the boot order list when proper u-boot image is unavailable in current device. This requires disabling the raw image support in SPL.

This change is common for all Intel SOC64 devices.

---
 configs/socfpga_agilex_atf_defconfig              |  1 +
 configs/socfpga_agilex_defconfig                  |  1 +
 configs/socfpga_agilex_nand_atf_defconfig         |  3 ++-
 configs/socfpga_agilex_nand_defconfig             |  3 ++-
 configs/socfpga_agilex_qspi_atf_defconfig         |  3 ++-
 configs/socfpga_agilex_qspi_defconfig             |  3 ++-
 configs/socfpga_agilex_vab_defconfig              |  1 +
 configs/socfpga_n5x_atf_defconfig                 |  1 +
 configs/socfpga_n5x_defconfig                     |  2 +-
 configs/socfpga_n5x_vab_defconfig                 |  1 +
 configs/socfpga_stratix10_atf_defconfig           |  1 +
 configs/socfpga_stratix10_defconfig               |  1 +
 configs/socfpga_stratix10_nand_atf_defconfig      |  3 ++-
 configs/socfpga_stratix10_nand_defconfig          |  3 ++-
 configs/socfpga_stratix10_qspi_atf_defconfig      |  3 ++-
 ...defconfig => socfpga_stratix10_qspi_defconfig} | 15 ++++++++-------
 16 files changed, 30 insertions(+), 15 deletions(-)
 mode change 100755 => 100644 configs/socfpga_agilex_nand_atf_defconfig
 mode change 100755 => 100644 configs/socfpga_agilex_nand_defconfig
 mode change 100755 => 100644 configs/socfpga_agilex_qspi_atf_defconfig
 mode change 100755 => 100644 configs/socfpga_agilex_qspi_defconfig
 mode change 100755 => 100644 configs/socfpga_stratix10_nand_atf_defconfig
 mode change 100755 => 100644 configs/socfpga_stratix10_qspi_atf_defconfig
 copy configs/{socfpga_agilex_qspi_defconfig => socfpga_stratix10_qspi_defconfig} (84%)
 mode change 100755 => 100644
configs/socfpga_agilex_atf_defconfig +1 -0
index cc11fc1912..4f5a188a1f 100644
@@ -93,3 +93,4 @@ CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
 CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
configs/socfpga_agilex_defconfig +1 -0
index f7e767fbbe..bdc5e97026 100644
@@ -86,3 +86,4 @@ CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
 CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
configs/socfpga_agilex_nand_atf_defconfig +2 -1
old mode 100755
new mode 100644
index 58a28481f6..bfc893fd39
@@ -89,4 +89,5 @@ CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
-# CONFIG_SPL_USE_TINY_PRINTF is not set
\ No newline at end of file
+# CONFIG_SPL_USE_TINY_PRINTF is not set
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_agilex_nand_defconfig +2 -1
old mode 100755
new mode 100644
index f3b3c0b602..3f95aac147
@@ -82,4 +82,5 @@ CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
-# CONFIG_SPL_USE_TINY_PRINTF is not set
\ No newline at end of file
+# CONFIG_SPL_USE_TINY_PRINTF is not set
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_agilex_qspi_atf_defconfig +2 -1
old mode 100755
new mode 100644
index 9d97d34c77..b250156fe5
@@ -78,4 +78,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
-CONFIG_PANIC_HANG=y
\ No newline at end of file
+CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_agilex_qspi_defconfig +2 -1
old mode 100755
new mode 100644
index ee6b7b8660..34e6850ea1
@@ -72,4 +72,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
-CONFIG_PANIC_HANG=y
\ No newline at end of file
+CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_agilex_vab_defconfig +1 -0
index 3c41f16162..be513d4a57 100644
@@ -94,3 +94,4 @@ CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
 CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_n5x_atf_defconfig +1 -0
index 5e94a923bc..840e985a45 100644
@@ -99,3 +99,4 @@ CONFIG_SHA512_ALGO=y
 CONFIG_SHA384=y
 CONFIG_FS_LOADER=y
 CONFIG_SPL_ENV_SUPPORT=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_n5x_defconfig +1 -1
index 1f69277c8c..bf17d83561 100644
@@ -87,4 +87,4 @@ CONFIG_SHA512_ALGO=y
 CONFIG_SHA384=y
 CONFIG_FS_LOADER=y
 CONFIG_SPL_ENV_SUPPORT=y
-
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_n5x_vab_defconfig +1 -0
index 0f55959a45..0a0deb67a0 100644
@@ -101,3 +101,4 @@ CONFIG_SHA512_ALGO=y
 CONFIG_SHA384=y
 CONFIG_FS_LOADER=y
 CONFIG_SPL_ENV_SUPPORT=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_stratix10_atf_defconfig +1 -0
index 6be4210c7d..adb78975a9 100644
@@ -93,3 +93,4 @@ CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
 CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_stratix10_defconfig +1 -0
index 07e9f20a41..ad80d35275 100644
@@ -90,3 +90,4 @@ CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
 CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_stratix10_nand_atf_defconfig +2 -1
old mode 100755
new mode 100644
index 29c96bf6f1..a9abd85e68
@@ -90,4 +90,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
-CONFIG_PANIC_HANG=y
\ No newline at end of file
+CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_stratix10_nand_defconfig +2 -1
index f41d2dc82c..48c20e5b11 100644
@@ -83,4 +83,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
-CONFIG_PANIC_HANG=y
\ No newline at end of file
+CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_stratix10_qspi_atf_defconfig +2 -1
old mode 100755
new mode 100644
index d9e55de4dc..6fcb9d7ae0
@@ -78,4 +78,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
-CONFIG_PANIC_HANG=y
\ No newline at end of file
+CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
configs/socfpga_stratix10_qspi_defconfig renamed from configs/socfpga_agilex_qspi_defconfig +8 -7
old mode 100755
new mode 100644
similarity index 84%
copy from configs/socfpga_agilex_qspi_defconfig
copy to configs/socfpga_stratix10_qspi_defconfig
index ee6b7b8660..a0a2590818
@@ -11,24 +11,24 @@ CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_TEXT_BASE=0xFFE00000
-CONFIG_TARGET_SOCFPGA_AGILEX_SOCDK=y
-CONFIG_IDENT_STRING="socfpga_agilex"
+CONFIG_TARGET_SOCFPGA_STRATIX10_SOCDK=y
+CONFIG_IDENT_STRING="socfpga_stratix10"
 CONFIG_SPL_FS_FAT=y
 CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
 # CONFIG_PSCI_RESET is not set
 CONFIG_ARMV8_PSCI=y
-CONFIG_DEFAULT_DEVICE_TREE="socfpga_agilex_socdk_qspi"
+CONFIG_DEFAULT_DEVICE_TREE="socfpga_stratix10_socdk_qspi"
 CONFIG_QSPI_BOOT=y
 CONFIG_BOOTDELAY=5
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="earlycon panic=-1"
 CONFIG_USE_BOOTCOMMAND=y
-CONFIG_BOOTCOMMAND="sf probe;run qspiload;run linux_qspi_enable;rsu dtb;run qspiboot"
-CONFIG_SPL_CACHE=y
+CONFIG_BOOTCOMMAND="sf probe;run qspiload;run linux_qspi_enable;run rsu_status;run qspiboot"
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_HUSH_PARSER=y
-CONFIG_SYS_PROMPT="SOCFPGA_AGILEX # "
+CONFIG_SYS_PROMPT="SOCFPGA_STRATIX10 # "
 CONFIG_CMD_MEMTEST=y
+# CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MTD=y
@@ -72,4 +72,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
-CONFIG_PANIC_HANG=y
\ No newline at end of file
+CONFIG_PANIC_HANG=y
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
\ No newline at end of file
Signature · 1 line
2.26.2