OSDN Git Service

target-xtensa: xtfpga: fix FLASH interface width
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 6 Jul 2016 06:31:32 +0000 (09:31 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Jul 2016 10:59:44 +0000 (13:59 +0300)
commitf9a555e4991b9ddc257ea8ce2e4acde672275097
tree78a128f79b4f217f8bacadb6754421167d4f949f
parent5bb2399f9b08198b6c03db10dd46e5a88caa2968
target-xtensa: xtfpga: fix FLASH interface width

FLASH chip on XTFPGA boards is connected with 16-bit-wide interface.
Latest U-Boot can see the difference and does not work correctly with
32-bit-wide interface.
Set FLASH chip 'width' property to 2.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
hw/xtensa/xtfpga.c