X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fspi%2Fsh_qspi.c;h=77ede6bba3a5d9655a7bc46be8dca39d70d2834d;hb=3acb011c3c2c26cb6a6ee1b1d61ab8992b4f140b;hp=edeb42d03888c202fe54141e34a75dc789b6d840;hpb=16f47c9c510a61ee91d6b9d02dd723522beff80f;p=u-boot diff --git a/drivers/spi/sh_qspi.c b/drivers/spi/sh_qspi.c index edeb42d038..77ede6bba3 100644 --- a/drivers/spi/sh_qspi.c +++ b/drivers/spi/sh_qspi.c @@ -10,6 +10,7 @@ #include #include #include +#include #include /* SH QSPI register bit masks _ */ @@ -170,7 +171,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, return NULL; } - ss->regs = (struct sh_qspi_regs *)CONFIG_SH_QSPI_BASE; + ss->regs = (struct sh_qspi_regs *)SH_QSPI_BASE; /* Init SH QSPI */ sh_qspi_init(ss);