mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 01:50:25 +00:00
2156327846
The RZ/N1 is a family of SoC devices from Renesas, featuring: * ARM Cortex-A7 CPU (single/dual core) and/or Cortex-M3 * Integrated SRAM up to 6MB * Integrated gigabit ethernet switch * Optional DDR2/3 controller * I2C, SPI, UART, NAND, QSPI, SDIO, USB, CAN, RTC, LCD Add basic support for this family, modeled on the existing RZA1. Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
79 lines
1.5 KiB
Text
79 lines
1.5 KiB
Text
if ARCH_RMOBILE
|
|
|
|
# Renesas ARM SoCs R-Car Gen3/Gen4 (64bit)
|
|
config RCAR_64
|
|
bool
|
|
select ARM64
|
|
select CMD_CACHE
|
|
select OF_BOARD_SETUP
|
|
select PHY
|
|
select PINCONF
|
|
select PINCTRL
|
|
select PINCTRL_PFC
|
|
select POSITION_INDEPENDENT
|
|
imply CMD_FS_UUID
|
|
imply CMD_GPT
|
|
imply CMD_MMC_SWRITE if MMC
|
|
imply CMD_UUID
|
|
imply SUPPORT_EMMC_RPMB if MMC
|
|
|
|
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 RCAR_64
|
|
select SUPPORT_SPL
|
|
imply SPL
|
|
imply SPL_BOARD_INIT
|
|
imply SPL_GZIP
|
|
imply SPL_LIBCOMMON_SUPPORT
|
|
imply SPL_LIBGENERIC_SUPPORT
|
|
imply SPL_SERIAL
|
|
imply SPL_SYS_MALLOC_SIMPLE
|
|
imply SPL_TINY_MEMSET
|
|
imply SPL_USE_TINY_PRINTF
|
|
imply SPL_YMODEM_SUPPORT
|
|
|
|
config RCAR_GEN4
|
|
bool "Renesas ARM SoCs R-Car Gen4 (64bit)"
|
|
select RCAR_64
|
|
|
|
config RZA1
|
|
prompt "Renesas ARM SoCs RZ/A1 (32bit)"
|
|
select CPU_V7A
|
|
|
|
config RZN1
|
|
prompt "Renesas ARM SoCs RZ/N1 (32bit)"
|
|
select CPU_V7A
|
|
select ARMV7_SET_CORTEX_SMPEN if !SPL
|
|
select SPL_ARMV7_SET_CORTEX_SMPEN if SPL
|
|
select CLK
|
|
select CLK_RENESAS
|
|
select CLK_R9A06G032
|
|
select DM
|
|
select DM_ETH
|
|
select DM_SERIAL
|
|
select PINCTRL
|
|
select PINCONF
|
|
select REGMAP
|
|
select SYSRESET
|
|
select SYSRESET_SYSCON
|
|
imply CMD_DM
|
|
|
|
endchoice
|
|
|
|
config SYS_SOC
|
|
default "rmobile" if ARCH_RMOBILE
|
|
|
|
source "arch/arm/mach-rmobile/Kconfig.32"
|
|
source "arch/arm/mach-rmobile/Kconfig.64"
|
|
source "arch/arm/mach-rmobile/Kconfig.rza1"
|
|
source "arch/arm/mach-rmobile/Kconfig.rzn1"
|
|
|
|
endif
|