All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] spi: sh_qspi: Add header file that defines the address of registers
@ 2014-01-08  1:16 Nobuhiro Iwamatsu
  2014-01-08 17:57 ` Jagan Teki
  2014-01-15  4:34 ` Jagan Teki
  0 siblings, 2 replies; 10+ messages in thread
From: Nobuhiro Iwamatsu @ 2014-01-08  1:16 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
---
 drivers/spi/sh_qspi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/spi/sh_qspi.c b/drivers/spi/sh_qspi.c
index edeb42d..77ede6b 100644
--- a/drivers/spi/sh_qspi.c
+++ b/drivers/spi/sh_qspi.c
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <malloc.h>
 #include <spi.h>
+#include <asm/arch/rmobile.h>
 #include <asm/io.h>
 
 /* SH QSPI register bit masks <REG>_<BIT> */
@@ -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);
-- 
1.8.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-15  7:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08  1:16 [U-Boot] [PATCH] spi: sh_qspi: Add header file that defines the address of registers Nobuhiro Iwamatsu
2014-01-08 17:57 ` Jagan Teki
2014-01-09  4:19   ` Nobuhiro Iwamatsu
2014-01-09  7:03     ` Jagan Teki
2014-01-14  0:01       ` Nobuhiro Iwamatsu
2014-01-14  0:12         ` Nobuhiro Iwamatsu
2014-01-14  6:25           ` Jagan Teki
2014-01-14 23:43             ` Nobuhiro Iwamatsu
2014-01-15  4:34 ` Jagan Teki
2014-01-15  7:05   ` Nobuhiro Iwamatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.