]> git.sur5r.net Git - u-boot/commit
drivers: spi: ti_qspi: do not hard code chip select for memory map configuration
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 23 Dec 2015 15:09:33 +0000 (20:39 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:27 +0000 (18:47 +0530)
commitec712f490d9cd04257376d6cc6d52778b174c435
tree8676e826d482c01f7af1f1be8295b90ace8a93b8
parent2b11a41cefefd8d6236d5d4513ebb91058c545e2
drivers: spi: ti_qspi: do not hard code chip select for memory map configuration

To enable memory map in dra7xx, specific chip select must be
written to control module register. But this hard coded to chip
select 1, fixing it by writing the specific chip select value to
control module register.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/ti_qspi.c