提交 22e75d6d 编写于 作者: N Nobuhiro Iwamatsu 提交者: Nobuhiro Iwamatsu

spi: sh_qspi: Add header file that defines the address of registers

Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Reviewed-by: NJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
上级 82852762
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册