u-boot/doc/uImage.FIT
Michal Simek caa7fc2c57 spl: Use standard FIT entries
SPL is creating fit-images DT node when loadables are recorded in selected
configuration. Entries which are created are using entry-point and
load-addr property names. But there shouldn't be a need to use non standard
properties because entry/load are standard FIT properties. But using
standard FIT properties enables option to use generic FIT functions to
descrease SPL size. Here is result for ZynqMP virt configuration:
xilinx_zynqmp_virt: spl/u-boot-spl:all -82 spl/u-boot-spl:rodata -22 spl/u-boot-spl:text -60

The patch causes change in run time fit image record.
Before:
fit-images {
        uboot {
                os = "u-boot";
                type = "firmware";
                size = <0xfd520>;
                entry-point = <0x8000000>;
                load-addr = <0x8000000>;
        };
};

After:
fit-images {
        uboot {
                os = "u-boot";
                type = "firmware";
                size = <0xfd520>;
                entry = <0x8000000>;
                load = <0x8000000>;
        };
};

Replacing calling fdt_getprop_u32() by fit_image_get_entry/load() also
enables support for reading entry/load properties recorded in 64bit format.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-10-27 08:13:32 +01:00
..
beaglebone_vboot.txt arm: ti: Remove ARCH= references from documentation 2020-06-02 17:27:04 -04:00
command_syntax_extensions.txt doc: FIT image: fix incorrect description of DT node unit address 2018-01-15 18:29:21 -07:00
howto.txt spl: Use standard FIT entries 2020-10-27 08:13:32 +01:00
kernel.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
kernel_fdt.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
kernel_fdts_compressed.its fit: Support compat string property in configuration node 2019-07-29 09:32:08 -04:00
multi-with-fpga.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
multi-with-loadables.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
multi.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
multi_spl.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
overlay-fdt-boot.txt doc: FIT image: fix incorrect description of DT node unit address 2018-01-15 18:29:21 -07:00
sec_firmware_ppa.its armv8: sec_firmware: Add support for multiple loadables 2018-05-09 09:17:51 -05:00
sign-configs.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
sign-images.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
signature.txt doc: verified-boot: add required-mode information 2020-10-12 21:30:37 -04:00
source_file_format.txt mkimage: fit_image: Add option to make fit header align 2020-04-24 10:10:01 -04:00
uefi.its doc: Add sample uefi.its image description file 2020-01-07 18:08:21 +01:00
update3.its doc: FIT image: fix incorrect examples of DT node unit address 2018-01-15 18:29:21 -07:00
update_uboot.its doc: fit: Write hex address as hex instead of int 2020-07-17 10:47:19 -04:00
verified-boot.txt doc: verified-boot: fix typos 2017-08-26 14:56:14 -04:00
x86-fit-boot.txt doc: FIT image: fix incorrect description of DT node unit address 2018-01-15 18:29:21 -07:00