Kconfig 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. if ARCH_RMOBILE
  2. # Renesas ARM SoCs R-Car Gen3/Gen4 (64bit)
  3. config RCAR_64
  4. bool
  5. select ARM64
  6. select CMD_CACHE
  7. select OF_BOARD_SETUP
  8. select PHY
  9. select PINCONF
  10. select PINCTRL
  11. select PINCTRL_PFC
  12. select POSITION_INDEPENDENT
  13. imply CMD_FS_UUID
  14. imply CMD_GPT
  15. imply CMD_MMC_SWRITE if MMC
  16. imply CMD_UUID
  17. imply SUPPORT_EMMC_RPMB if MMC
  18. choice
  19. prompt "Target Renesas SoC select"
  20. default RCAR_32
  21. config RCAR_32
  22. bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
  23. select CPU_V7A
  24. config RCAR_GEN3
  25. bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
  26. select RCAR_64
  27. select SUPPORT_SPL
  28. imply SPL
  29. imply SPL_BOARD_INIT
  30. imply SPL_GZIP
  31. imply SPL_LIBCOMMON_SUPPORT
  32. imply SPL_LIBGENERIC_SUPPORT
  33. imply SPL_SERIAL
  34. imply SPL_SYS_MALLOC_SIMPLE
  35. imply SPL_TINY_MEMSET
  36. imply SPL_USE_TINY_PRINTF
  37. imply SPL_YMODEM_SUPPORT
  38. config RCAR_GEN4
  39. bool "Renesas ARM SoCs R-Car Gen4 (64bit)"
  40. select RCAR_64
  41. config RZA1
  42. prompt "Renesas ARM SoCs RZ/A1 (32bit)"
  43. select CPU_V7A
  44. config RZN1
  45. prompt "Renesas ARM SoCs RZ/N1 (32bit)"
  46. select CPU_V7A
  47. select ARMV7_SET_CORTEX_SMPEN if !SPL
  48. select SPL_ARMV7_SET_CORTEX_SMPEN if SPL
  49. select CLK
  50. select CLK_RENESAS
  51. select CLK_R9A06G032
  52. select DM
  53. select DM_ETH
  54. select DM_SERIAL
  55. select PINCTRL
  56. select PINCONF
  57. select REGMAP
  58. select SYSRESET
  59. select SYSRESET_SYSCON
  60. imply CMD_DM
  61. endchoice
  62. config SYS_SOC
  63. default "rmobile" if ARCH_RMOBILE
  64. source "arch/arm/mach-rmobile/Kconfig.32"
  65. source "arch/arm/mach-rmobile/Kconfig.64"
  66. source "arch/arm/mach-rmobile/Kconfig.rza1"
  67. source "arch/arm/mach-rmobile/Kconfig.rzn1"
  68. endif