1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-17 05:39:29 +01:00
Files
u-boot-megous/include/configs
Ashok Reddy Soma 9a45365ae9 arm64: versal-net: spi: Update boot sequence dynamically
Currently xspi0 is used for all spi boot modes, it means it will use "sf
probe 0 0 0" for all spi's irrespective of which node it is wired.

Get boot sequence from dev_seq() and update boot command for xspi
dynamically.

As a result bootcmd for spi is updated as below when two instances of spi
are present in DT node.
bootcmd_xspi0=devnum_xspi=0; run xspi_boot
bootcmd_xspi1=devnum_xspi=1; run xspi_boot

xspi_boot=sf probe $devnum_xspi:0 0 0 && sf read $scriptaddr
$script_offset_f $script_size_f && echo XSPI: Trying to boot script at
${scriptaddr} && source ${scriptaddr}; echo XSPI: SCRIPT FAILED:
continuing...;

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230614093058.30438-1-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2023-07-21 09:00:38 +02:00
..
2023-02-09 16:32:26 -05:00
2023-02-09 16:32:26 -05:00
2023-02-10 11:24:08 -05:00
2023-02-10 11:24:08 -05:00
2023-02-10 11:24:08 -05:00
2022-12-22 10:31:48 -05:00
2023-05-04 12:40:47 +02:00
2023-04-28 17:52:23 +02:00
2023-04-21 15:16:00 +08:00
2023-01-30 23:23:02 +01:00
2023-02-09 16:32:26 -05:00
2023-05-21 16:54:40 +02:00
2023-02-06 13:04:53 -05:00
2022-12-23 10:15:13 -05:00
2023-05-04 12:40:47 +02:00
2023-06-28 10:05:34 +02:00
2022-04-18 11:25:13 +08:00
2022-12-22 10:31:48 -05:00
2022-12-23 10:15:13 -05:00
2023-03-29 22:27:39 +02:00
2023-01-18 19:41:16 -05:00
2023-04-26 08:43:05 -04:00
2023-02-06 13:04:53 -05:00
2023-07-17 13:38:35 +08:00
2023-02-09 16:32:26 -05:00
2022-03-03 16:51:19 -05:00
2023-01-09 11:30:08 -05:00
2021-12-05 09:26:26 -07:00
2022-12-23 10:15:12 -05:00
2022-12-23 10:15:13 -05:00