]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel-fitimage: support 64 bits address
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 13 Apr 2023 10:31:08 +0000 (18:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 May 2023 11:46:11 +0000 (12:46 +0100)
commit8ce15c76c50d5d61524fea585d19989baefb5df2
tree570292a0de900b07102f79e2c41a3e18e9e2ab0e
parent719f22df160ebde303274ccfc04049cffdb51577
kernel-fitimage: support 64 bits address

The default value of address-cells is "1", so the generated "its" file
only supports 32bits address for kernel FIT image.
However, some platforms may want to support 64bits address
of UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT.
Therefore, adds a variable to support both 64bits and 32bits address cells.

By default, the address-cell is "1" which is used for 32bits load address.
If users would like to use 64bits load address, users are able to
set as following for "0x400000000" 64bits load address.
1. FIT_ADDRESS_CELLS = "2"
2. UBOOT_LOADADDRESS= "0x04 0x00000000"

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
meta/classes-recipe/kernel-fitimage.bbclass