302-ARM-BCM5301X-select-GPIOLIB-as-optional.patch 986 B

1234567891011121314151617181920212223242526272829
  1. From e7b1065712e769eb4de7b9d4aa222a4531c2b8fd Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Sat, 20 Sep 2014 18:21:19 +0200
  4. Subject: [PATCH V2] ARM: BCM5301X: select GPIOLIB as optional
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. All routers (or 99% of them) based on BCM5301X use GPIOs to control LEDs
  9. and buttons.
  10. Signed-off-by: Rafał Miłecki <[email protected]>
  11. ---
  12. V2: Don't select GPIOLIB. We may still think about making it default at
  13. some point, but we dont' really require it to boot successfully.
  14. ---
  15. arch/arm/mach-bcm/Kconfig | 1 +
  16. 1 file changed, 1 insertion(+)
  17. --- a/arch/arm/mach-bcm/Kconfig
  18. +++ b/arch/arm/mach-bcm/Kconfig
  19. @@ -35,6 +35,7 @@ config ARCH_BCM_MOBILE
  20. config ARCH_BCM_5301X
  21. bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7
  22. depends on MMU
  23. + select ARCH_WANT_OPTIONAL_GPIOLIB
  24. select ARM_GIC
  25. select CACHE_L2X0
  26. select HAVE_ARM_SCU if SMP