OSDN Git Service

xtensa: xtfpga: fix hardware lockup caused by LCD driver
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 27 Feb 2015 03:28:00 +0000 (06:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:03:57 +0000 (22:03 +0200)
commit042741ecc3287d365daab83a5fd287aee607ea32
tree9735823ec4d776d50eee0fa23e0fb812675ab383
parent7b2f4da529f27b81d06a9c5d49803dc4b1d5eea3
xtensa: xtfpga: fix hardware lockup caused by LCD driver

commit 4949009eb8d40a441dcddcd96e101e77d31cf1b2 upstream.

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.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/Kconfig
arch/xtensa/platforms/xtfpga/Makefile
arch/xtensa/platforms/xtfpga/include/platform/hardware.h
arch/xtensa/platforms/xtfpga/include/platform/lcd.h
arch/xtensa/platforms/xtfpga/lcd.c