147-sun6i-enable-spi-in-defconfig.patch 879 B

1234567891011121314151617181920212223242526272829
  1. From 3aa7ff0de5bddc825406ffff49dc4a38b13ebac3 Mon Sep 17 00:00:00 2001
  2. From: Maxime Ripard <maxime.ripard@free-electrons.com>
  3. Date: Wed, 5 Feb 2014 14:05:07 +0100
  4. Subject: [PATCH] ARM: sunxi: Enable A31 SPI and SID in the defconfig
  5. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  6. ---
  7. arch/arm/configs/sunxi_defconfig | 3 +++
  8. 1 file changed, 3 insertions(+)
  9. --- a/arch/arm/configs/sunxi_defconfig
  10. +++ b/arch/arm/configs/sunxi_defconfig
  11. @@ -24,6 +24,7 @@ CONFIG_IP_PNP_BOOTP=y
  12. # CONFIG_WIRELESS is not set
  13. CONFIG_DEVTMPFS=y
  14. CONFIG_DEVTMPFS_MOUNT=y
  15. +CONFIG_EEPROM_SUNXI_SID=y
  16. CONFIG_NETDEVICES=y
  17. CONFIG_SUN4I_EMAC=y
  18. # CONFIG_NET_CADENCE is not set
  19. @@ -48,6 +49,8 @@ CONFIG_I2C=y
  20. # CONFIG_I2C_COMPAT is not set
  21. CONFIG_I2C_CHARDEV=y
  22. CONFIG_I2C_MV64XXX=y
  23. +CONFIG_SPI=y
  24. +CONFIG_SPI_SUN6I=y
  25. CONFIG_GPIO_SYSFS=y
  26. # CONFIG_HWMON is not set
  27. CONFIG_WATCHDOG=y