diff options
author | Heiko Schocher <hs@denx.de> | 2015-08-24 11:36:39 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-09-02 15:38:16 +0200 |
commit | c4e498d9a34794e96aa358b2f20bac3e00ac618d (patch) | |
tree | 0871a55f710cd08f1e02660f7077acd03b7dc5ea /drivers | |
parent | 2738948a05a30e8033129a82a0a63695e639fc78 (diff) |
video, lg4573: make spi bus and cs configurable
make the spi bus and the spi chipselect configurable
for the lg4573 driver. Use it on the aristainetos
boards.
Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/lg4573.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/lg4573.c b/drivers/video/lg4573.c index 43670fc320b..11fef279a90 100644 --- a/drivers/video/lg4573.c +++ b/drivers/video/lg4573.c @@ -220,7 +220,8 @@ err_claim_bus: static int do_lgset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { - lg4573_spi_startup(0, 0, 10000000, SPI_MODE_0); + lg4573_spi_startup(CONFIG_LG4573_BUS, CONFIG_LG4573_CS, 10000000, + SPI_MODE_0); return 0; } |