diff options
author | Radu Bacrau <radu.bacrau@intel.com> | 2020-12-14 17:05:10 -0600 |
---|---|---|
committer | Radu Bacrau <radu.bacrau@intel.com> | 2020-12-14 17:05:10 -0600 |
commit | 8668e7a2ebf9ae763b633ce75a87bd0e6b09a606 (patch) | |
tree | 7f9345457b5705f7f7822aa9e0c9c552cdac0ff9 | |
parent | a07ff3e501e793e9a149b0c77c5efb106ded828b (diff) | |
download | u-boot-socfpga-8668e7a2ebf9ae763b633ce75a87bd0e6b09a606.tar.gz |
HSD #14013046644: group RSU commands from bootcmd
Gathered all RSU commands from bootcmd on all supported configurations into a
separate script called rsu_status.
Signed-off-by: Radu Bacrau <radu.bacrau@intel.com>
-rw-r--r-- | configs/socfpga_agilex_atf_defconfig | 2 | ||||
-rw-r--r-- | configs/socfpga_agilex_defconfig | 2 | ||||
-rwxr-xr-x | configs/socfpga_agilex_nand_atf_defconfig | 2 | ||||
-rw-r--r-- | configs/socfpga_agilex_nand_defconfig | 2 | ||||
-rwxr-xr-x | configs/socfpga_agilex_qspi_atf_defconfig | 2 | ||||
-rw-r--r-- | configs/socfpga_agilex_qspi_defconfig | 2 | ||||
-rw-r--r-- | configs/socfpga_stratix10_atf_defconfig | 2 | ||||
-rw-r--r-- | configs/socfpga_stratix10_defconfig | 2 | ||||
-rwxr-xr-x | configs/socfpga_stratix10_nand_atf_defconfig | 2 | ||||
-rw-r--r-- | configs/socfpga_stratix10_nand_defconfig | 2 | ||||
-rwxr-xr-x | configs/socfpga_stratix10_qspi_atf_defconfig | 2 | ||||
-rw-r--r-- | configs/socfpga_stratix10_qspi_defconfig | 2 | ||||
-rw-r--r-- | include/configs/socfpga_soc64_common.h | 4 |
13 files changed, 15 insertions, 13 deletions
diff --git a/configs/socfpga_agilex_atf_defconfig b/configs/socfpga_agilex_atf_defconfig index 82e956f6b6..f5becf82b8 100644 --- a/configs/socfpga_agilex_atf_defconfig +++ b/configs/socfpga_agilex_atf_defconfig @@ -21,7 +21,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run fatscript;run mmcload;run linux_qspi_enable;rsu dtb;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run mmcboot" +CONFIG_BOOTCOMMAND="run fatscript;run mmcload;run linux_qspi_enable;run rsu_status;run mmcboot" CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_ATF=y diff --git a/configs/socfpga_agilex_defconfig b/configs/socfpga_agilex_defconfig index 65b6c9140e..736d1b908d 100644 --- a/configs/socfpga_agilex_defconfig +++ b/configs/socfpga_agilex_defconfig @@ -19,7 +19,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run fatscript;run mmcload;run linux_qspi_enable;rsu dtb;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run mmcboot" +CONFIG_BOOTCOMMAND="run fatscript;run mmcload;run linux_qspi_enable;run rsu_status;run mmcboot" CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_HUSH_PARSER=y diff --git a/configs/socfpga_agilex_nand_atf_defconfig b/configs/socfpga_agilex_nand_atf_defconfig index d60e77b046..8ed7f5d8ac 100755 --- a/configs/socfpga_agilex_nand_atf_defconfig +++ b/configs/socfpga_agilex_nand_atf_defconfig @@ -22,7 +22,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run nandload;run linux_qspi_enable;rsu dtb;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run nandboot" +CONFIG_BOOTCOMMAND="run nandload;run linux_qspi_enable;run rsu_status;run nandboot" CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_CACHE=y diff --git a/configs/socfpga_agilex_nand_defconfig b/configs/socfpga_agilex_nand_defconfig index 9d70809cd8..9e844db969 100644 --- a/configs/socfpga_agilex_nand_defconfig +++ b/configs/socfpga_agilex_nand_defconfig @@ -19,7 +19,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run nandload;run linux_qspi_enable;rsu dtb;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run nandboot" +CONFIG_BOOTCOMMAND="run nandload;run linux_qspi_enable;run rsu_status;run nandboot" CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_CACHE=y diff --git a/configs/socfpga_agilex_qspi_atf_defconfig b/configs/socfpga_agilex_qspi_atf_defconfig index 889b9fb149..7faefeb063 100755 --- a/configs/socfpga_agilex_qspi_atf_defconfig +++ b/configs/socfpga_agilex_qspi_atf_defconfig @@ -23,7 +23,7 @@ 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;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run qspiboot" +CONFIG_BOOTCOMMAND="sf probe;run qspiload;run linux_qspi_enable;run rsu_status;run qspiboot" CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_ATF=y diff --git a/configs/socfpga_agilex_qspi_defconfig b/configs/socfpga_agilex_qspi_defconfig index a70008229a..ee80c29c7b 100644 --- a/configs/socfpga_agilex_qspi_defconfig +++ b/configs/socfpga_agilex_qspi_defconfig @@ -21,7 +21,7 @@ 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;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run qspiboot" +CONFIG_BOOTCOMMAND="sf probe;run qspiload;run linux_qspi_enable;run rsu_status;run qspiboot" CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_HUSH_PARSER=y diff --git a/configs/socfpga_stratix10_atf_defconfig b/configs/socfpga_stratix10_atf_defconfig index 88d6852697..0bbea6f46a 100644 --- a/configs/socfpga_stratix10_atf_defconfig +++ b/configs/socfpga_stratix10_atf_defconfig @@ -21,7 +21,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run fatscript;run mmcload;run linux_qspi_enable;rsu dtb;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run mmcboot" +CONFIG_BOOTCOMMAND="run fatscript;run mmcload;run linux_qspi_enable;run rsu_status;run mmcboot" CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_ATF=y CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig index e2fb0597b1..02d4ac0dae 100644 --- a/configs/socfpga_stratix10_defconfig +++ b/configs/socfpga_stratix10_defconfig @@ -19,7 +19,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run fatscript;run mmcload;run linux_qspi_enable;rsu dtb;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run mmcboot" +CONFIG_BOOTCOMMAND="run fatscript;run mmcload;run linux_qspi_enable;run rsu_status;run mmcboot" CONFIG_SPL_SPI_LOAD=y CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="SOCFPGA_STRATIX10 # " diff --git a/configs/socfpga_stratix10_nand_atf_defconfig b/configs/socfpga_stratix10_nand_atf_defconfig index f0b36f92c2..5c839a8c54 100755 --- a/configs/socfpga_stratix10_nand_atf_defconfig +++ b/configs/socfpga_stratix10_nand_atf_defconfig @@ -23,7 +23,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run nandload;run linux_qspi_enable;rsu dtb;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run nandboot" +CONFIG_BOOTCOMMAND="run nandload;run linux_qspi_enable;run rsu_status;run nandboot" CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_SPI_LOAD=y diff --git a/configs/socfpga_stratix10_nand_defconfig b/configs/socfpga_stratix10_nand_defconfig index 63ff9df36c..3705864616 100644 --- a/configs/socfpga_stratix10_nand_defconfig +++ b/configs/socfpga_stratix10_nand_defconfig @@ -20,7 +20,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run nandload;run linux_qspi_enable;rsu dtb;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run nandboot" +CONFIG_BOOTCOMMAND="run nandload;run linux_qspi_enable;run rsu_status;run nandboot" CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_SPI_LOAD=y diff --git a/configs/socfpga_stratix10_qspi_atf_defconfig b/configs/socfpga_stratix10_qspi_atf_defconfig index 6c8fd2aaac..4703162ef3 100755 --- a/configs/socfpga_stratix10_qspi_atf_defconfig +++ b/configs/socfpga_stratix10_qspi_atf_defconfig @@ -23,7 +23,7 @@ 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;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run qspiboot" +CONFIG_BOOTCOMMAND="sf probe;run qspiload;run linux_qspi_enable;run rsu_status;run qspiboot" CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_ATF=y CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y diff --git a/configs/socfpga_stratix10_qspi_defconfig b/configs/socfpga_stratix10_qspi_defconfig index 4e9f318957..369e0e6402 100644 --- a/configs/socfpga_stratix10_qspi_defconfig +++ b/configs/socfpga_stratix10_qspi_defconfig @@ -21,7 +21,7 @@ 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;rsu display_dcmf_version;rsu display_dcmf_status;rsu display_max_retry;run qspiboot" +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_STRATIX10 # " diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h index 8a3cb16862..3d468678a6 100644 --- a/include/configs/socfpga_soc64_common.h +++ b/include/configs/socfpga_soc64_common.h @@ -151,7 +151,9 @@ unsigned int cm_get_qspi_controller_clk_hz(void); "nandboot=setenv bootargs " CONFIG_BOOTARGS \ " root=${nandroot} rw rootwait rootfstype=jffs2; " \ "booti ${loadaddr} - ${fdt_addr}\0" \ - "socfpga_legacy_reset_compat=1\0" + "socfpga_legacy_reset_compat=1\0" \ + "rsu_status=rsu dtb; rsu display_dcmf_version; "\ + "rsu display_dcmf_status; rsu display_max_retry\0" /* * Generic Interrupt Controller Definitions |