mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-08 06:04:34 +00:00
2525fa3cb8
Turn on PIE, so that the U-Boot binary can be started from any arbitrary location in DRAM instead of a predefined fixed one. Note that this patch is not setting SYS_TEXT_BASE=0x0 yet, since that triggers relocation bugs in env code that are yet to be fixed. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Biju Das <biju.das.jz@bp.renesas.com> Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
48 lines
955 B
Text
48 lines
955 B
Text
if ARCH_RMOBILE
|
|
|
|
choice
|
|
prompt "Target Renesas SoC select"
|
|
default RCAR_32
|
|
|
|
config RCAR_32
|
|
bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
|
|
select CPU_V7A
|
|
|
|
config RCAR_GEN3
|
|
bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
|
|
select ARM64
|
|
select PHY
|
|
select CMD_CACHE
|
|
select OF_BOARD_SETUP
|
|
select PINCTRL
|
|
select PINCONF
|
|
select PINCTRL_PFC
|
|
select POSITION_INDEPENDENT
|
|
select SUPPORT_SPL
|
|
imply CMD_FS_UUID
|
|
imply CMD_GPT
|
|
imply CMD_UUID
|
|
imply CMD_MMC_SWRITE if MMC
|
|
imply SUPPORT_EMMC_RPMB if MMC
|
|
imply SPL
|
|
imply SPL_BOARD_INIT
|
|
imply SPL_GZIP
|
|
imply SPL_LIBCOMMON_SUPPORT
|
|
imply SPL_LIBGENERIC_SUPPORT
|
|
imply SPL_SERIAL_SUPPORT
|
|
imply SPL_SYS_MALLOC_SIMPLE
|
|
imply SPL_TINY_MEMSET
|
|
imply SPL_YMODEM_SUPPORT
|
|
imply SPL_USE_TINY_PRINTF
|
|
|
|
config RZA1
|
|
prompt "Renesas ARM SoCs RZ/A1 (32bit)"
|
|
select CPU_V7A
|
|
|
|
endchoice
|
|
|
|
source "arch/arm/mach-rmobile/Kconfig.32"
|
|
source "arch/arm/mach-rmobile/Kconfig.64"
|
|
source "arch/arm/mach-rmobile/Kconfig.rza1"
|
|
|
|
endif
|