u-boot/board/xilinx/common
Michal Simek 0bbc962efd xilinx: board: Add support to pick bootscr flash offset/size from DT
Location of bootscript in flash can be specified via /options/u-boot DT
node by using bootscr-flash-offset and bootscr-flash-size properties.
Values should be saved to script_offset_f and script_size_f variables.
Variables are described in doc/develop/bootstd.rst as:
script_offset_f
    SPI flash offset from which to load the U-Boot script, e.g. 0xffe000

script_size_f
    Size of the script to load, e.g. 0x2000

Both of them are used by sf_get_bootflow() in drivers/mtd/spi/sf_bootdev.c
to identify bootscript location inside flash.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/60a84405f3fefabb8b48a4e1ce84431483a729f3.1693465465.git.michal.simek@amd.com
2023-09-21 13:20:11 +02:00
..
board.c xilinx: board: Add support to pick bootscr flash offset/size from DT 2023-09-21 13:20:11 +02:00
board.h arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
cpu-info.c arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
fru.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
fru.h arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
fru_ops.c fru: ops: Display FRU fields properly for 0xc1 fields 2023-01-27 08:49:24 +01:00
Makefile arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00