From: Nobuhiro Iwamatsu Date: Wed, 8 Jan 2014 01:16:25 +0000 (+0900) Subject: spi: sh_qspi: Add header file that defines the address of registers X-Git-Tag: v2014.01~21^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=22e75d6d60516f45347c399f2d4efa35c30c773b;p=oweals%2Fu-boot.git spi: sh_qspi: Add header file that defines the address of registers Signed-off-by: Nobuhiro Iwamatsu Reviewed-by: Jagannadha Sutradharudu Teki Signed-off-by: Nobuhiro Iwamatsu --- 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);