[PATCH] board: rpi: Change from CONFIG_ARM64 to CONFIG_PHYS_64BIT

Tom Rini trini at konsulko.com
Tue Nov 5 23:38:51 CET 2024


On Wed, Nov 06, 2024 at 07:19:36AM +0900, Jaehoon Chung wrote:
> initrd_high is dependent with CONFIG_PHYS_64BIT configuration.
> Even though CONFIG_ARM64 is not enabled, CONFIG_PHYS_64BIT can be
> enabled.
> 
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> ---
>  board/raspberrypi/rpi/rpi.env | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/raspberrypi/rpi/rpi.env b/board/raspberrypi/rpi/rpi.env
> index 30228285edde..47529b0b7a68 100644
> --- a/board/raspberrypi/rpi/rpi.env
> +++ b/board/raspberrypi/rpi/rpi.env
> @@ -61,7 +61,7 @@ dfu_alt_info+=zImage fat 0 1
>   * only 64M, the remaining 25M starting at 0x02700000 should allow quite
>   * large initrds before they start colliding with U-Boot.
>   */
> -#ifdef CONFIG_ARM64
> +#ifdef CONFIG_PHYS_64BIT
>  fdt_high=ffffffffffffffff
>  initrd_high=ffffffffffffffff
>  #else

We really need to drop both of those _high variables in all cases and
set some reasonable bootm_size

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241105/6b9d80d3/attachment.sig>


More information about the U-Boot mailing list