diff options
author | Rajeshwari Shinde <rajeshwari.s@samsung.com> | 2013-10-08 18:42:22 +0530 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-12-03 15:26:33 +0900 |
commit | 347e45d745e9b90d81752e7567833c835e08e1f3 (patch) | |
tree | 2f119ac9d3397da32682c4ad4864805f41b91891 /include | |
parent | 771b3ba34ce80215b481e1aaade33bd3089d76a2 (diff) | |
download | u-boot-imx-347e45d745e9b90d81752e7567833c835e08e1f3.zip u-boot-imx-347e45d745e9b90d81752e7567833c835e08e1f3.tar.gz u-boot-imx-347e45d745e9b90d81752e7567833c835e08e1f3.tar.bz2 |
exynos: spl: Add a custom spi copy function
This patch implements a custom spi_copy funtion to copy u-boot from SF
to RAM. This is faster then iROM spi_copy funtion as this runs spi at
50Mhz and also in WORD mode of operation.
Changed a printf in pinmux.c to debug just to avoid the compilation
error in SPL.
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org>
Signed-off-by: Rajeshwari S Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/exynos5250-dt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index 2bd91a5..dee18a7 100644 --- a/include/configs/exynos5250-dt.h +++ b/include/configs/exynos5250-dt.h @@ -157,6 +157,7 @@ #define COPY_BL2_FNPTR_ADDR 0x02020030 #define CONFIG_SPL_LIBCOMMON_SUPPORT +#define CONFIG_SPL_GPIO_SUPPORT /* specific .lds file */ #define CONFIG_SPL_LDSCRIPT "board/samsung/common/exynos-uboot-spl.lds" @@ -266,6 +267,7 @@ /* SPI */ #define CONFIG_ENV_IS_IN_SPI_FLASH #define CONFIG_SPI_FLASH +#define CONFIG_ENV_SPI_BASE 0x12D30000 #ifdef CONFIG_SPI_FLASH #define CONFIG_EXYNOS_SPI |