Advertisement
OGaskellADI

Untitled

Jul 25th, 2024
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.53 KB | None | 0 0
  1. From 9f5b2f794ce5823833289547658910615ba8a4b5 Mon Sep 17 00:00:00 2001
  2. From: Oliver Gaskell <[email protected]>
  3. Date: Thu, 25 Jul 2024 15:32:01 +0100
  4. Subject: [PATCH] arm: Fix errors in Analog Devices SC5xx Machine Kconfig
  5.  
  6. Signed-off-by: Oliver Gaskell <[email protected]>
  7. ---
  8. arch/arm/mach-sc5xx/Kconfig | 13 +++++++++++--
  9.  1 file changed, 11 insertions(+), 2 deletions(-)
  10.  
  11. diff --git a/arch/arm/mach-sc5xx/Kconfig b/arch/arm/mach-sc5xx/Kconfig
  12. index 3846b4fd5b..2da2e4b385 100644
  13. --- a/arch/arm/mach-sc5xx/Kconfig
  14. +++ b/arch/arm/mach-sc5xx/Kconfig
  15. @@ -13,8 +13,12 @@
  16.  
  17.  if ARCH_SC5XX
  18.  
  19. +choice
  20. +   prompt "SC5xx SoC Select"
  21. +
  22.  config SC57X
  23.     bool
  24. +   prompt "SC57x series"
  25.     select SUPPORT_SPL
  26.     select CPU_V7A
  27.     select PANIC_HANG
  28. @@ -24,6 +28,7 @@ config SC57X
  29.  
  30.  config SC58X
  31.     bool
  32. +   prompt "SC58x series"
  33.     select SUPPORT_SPL
  34.     select CPU_V7A
  35.     select PANIC_HANG
  36. @@ -33,16 +38,18 @@ config SC58X
  37.  
  38.  config SC59X
  39.     bool
  40. +   prompt "32-bit SC59x series"
  41.     select SUPPORT_SPL
  42.     select CPU_V7A
  43.     select PANIC_HANG
  44.     select COMMON_CLK_ADI_SC594
  45.     select TIMER
  46.     select ADI_SC5XX_TIMER
  47. -   select NOP_PHY
  48. +   select NOP_PHY if PHY
  49.  
  50.  config SC59X_64
  51.     bool
  52. +   prompt "64-bit SC59x series"
  53.     select SUPPORT_SPL
  54.     select PANIC_HANG
  55.     select MMC_SDHCI_ADMA_FORCE_32BIT
  56. @@ -52,7 +59,9 @@ config SC59X_64
  57.     select COMMON_CLK_ADI_SC598
  58.     select GICV3
  59.     select GIC_600_CLEAR_RDPD
  60. -   select NOP_PHY
  61. +   select NOP_PHY if PHY
  62. +
  63. +endchoice
  64.  
  65.  config SC_BOOT_MODE
  66.     int "SC5XX boot mode select"
  67. --
  68. 2.34.1
  69.  
  70.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement