diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2015-02-27 06:28:00 +0300 |
|---|---|---|
| committer | Max Filippov <jcmvbkbc@gmail.com> | 2015-02-27 07:55:29 +0300 |
| commit | 4949009eb8d40a441dcddcd96e101e77d31cf1b2 (patch) | |
| tree | 8ce5900ef60e24168c654174cefaf47b02837fbe /arch/xtensa/platforms/xtfpga/include/platform/hardware.h | |
| parent | bfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff) | |
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/include/platform/hardware.h')
| -rw-r--r-- | arch/xtensa/platforms/xtfpga/include/platform/hardware.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h index 6edd20bb4565..4e0af2662a21 100644 --- a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h +++ b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h @@ -40,9 +40,6 @@ /* UART */ #define DUART16552_PADDR (XCHAL_KIO_PADDR + 0x0D050020) -/* LCD instruction and data addresses. */ -#define LCD_INSTR_ADDR ((char *)IOADDR(0x0D040000)) -#define LCD_DATA_ADDR ((char *)IOADDR(0x0D040004)) /* Misc. */ #define XTFPGA_FPGAREGS_VADDR IOADDR(0x0D020000) |
