summaryrefslogtreecommitdiff
path: root/arch/xtensa/platforms/xtfpga/Makefile
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-02-27 06:28:00 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2015-02-27 07:55:29 +0300
commit4949009eb8d40a441dcddcd96e101e77d31cf1b2 (patch)
tree8ce5900ef60e24168c654174cefaf47b02837fbe /arch/xtensa/platforms/xtfpga/Makefile
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff)
downloadlinux-4949009eb8d40a441dcddcd96e101e77d31cf1b2.tar.xz
xtensa: xtfpga: fix hardware lockup caused by LCD driver
LCD driver is always built for the XTFPGA platform, but its base address is not configurable, and is wrong for ML605/KC705. Its initialization locks up KC705 board hardware. Make the whole driver optional, and its base address and bus width configurable. Implement 4-bit bus access method. Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/platforms/xtfpga/Makefile')
-rw-r--r--arch/xtensa/platforms/xtfpga/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/platforms/xtfpga/Makefile b/arch/xtensa/platforms/xtfpga/Makefile
index b9ae206340cd..7839d38b2337 100644
--- a/arch/xtensa/platforms/xtfpga/Makefile
+++ b/arch/xtensa/platforms/xtfpga/Makefile
@@ -6,4 +6,5 @@
#
# Note 2! The CFLAGS definitions are in the main makefile...
-obj-y = setup.o lcd.o
+obj-y += setup.o
+obj-$(CONFIG_XTFPGA_LCD) += lcd.o