aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/spl_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/spl_boot.c')
-rw-r--r--arch/arm/mach-exynos/spl_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/spl_boot.c b/arch/arm/mach-exynos/spl_boot.c
index f518539057..553dac75b6 100644
--- a/arch/arm/mach-exynos/spl_boot.c
+++ b/arch/arm/mach-exynos/spl_boot.c
@@ -141,7 +141,7 @@ static void exynos_spi_copy(unsigned int uboot_size, unsigned int uboot_addr)
{
int upto, todo;
int i, timeout = 100;
- struct exynos_spi *regs = (struct exynos_spi *)CONFIG_SYS_SPI_BASE;
+ struct exynos_spi *regs = (struct exynos_spi *)CFG_SYS_SPI_BASE;
set_spi_clk(PERIPH_ID_SPI1, 50000000); /* set spi clock to 50Mhz */
/* set the spi1 GPIO */