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)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:12:17 +0000 (19:12 -0400)
commit6a87cc5ee776ca7ba67554401622a8f23832b978
tree9adf0f484c70c69a7b508a955e4402817854758e
parentfc69ac41da31ca159027b524592ede98c7dfc7e5
xtensa: xtfpga: fix hardware lockup caused by LCD driver

[ Upstream commit 4949009eb8d40a441dcddcd96e101e77d31cf1b2 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
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