]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: exynos: adds ifdef for spi boot
authorMinkyu Kang <mk7.kang@samsung.com>
Fri, 6 Dec 2013 10:04:03 +0000 (19:04 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 6 Dec 2013 10:07:47 +0000 (19:07 +0900)
commitd8fa31a71f76bd24550291bbaa22c52f14de8e8f
treea56c451cc744241f1d8a9debdf5ed51d2ee204d9
parent01322004ec08c207141b08a2e0423b9b4c7b2714
arm: exynos: adds ifdef for spi boot

This patch fix following errors and warnings

spl_boot.c: In function 'exynos_spi_copy':
spl_boot.c:111:49: error: 'CONFIG_ENV_SPI_BASE' undeclared (first use in this function)
spl_boot.c:111:49: note: each undeclared identifier is reported only once for each function it appears in
spl_boot.c:142:2: error: 'SPI_FLASH_UBOOT_POS' undeclared (first use in this function)
spl_boot.c: In function 'copy_uboot_to_ram':
spl_boot.c:189:28: warning: unused variable 'param' [-Wunused-variable]
spl_boot.c: At top level:
spl_boot.c:107:13: warning: 'exynos_spi_copy' defined but not used [-Wunused-function]

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
arch/arm/cpu/armv7/exynos/spl_boot.c