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 /arch/arm/include/asm | |
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 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-exynos/spi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/spi.h b/arch/arm/include/asm/arch-exynos/spi.h index 147c1a7..0ba931b 100644 --- a/arch/arm/include/asm/arch-exynos/spi.h +++ b/arch/arm/include/asm/arch-exynos/spi.h @@ -30,6 +30,7 @@ struct exynos_spi { #define EXYNOS_SPI_MAX_FREQ 50000000 #define SPI_TIMEOUT_MS 10 +#define SF_READ_DATA_CMD 0x3 /* SPI_CHCFG */ #define SPI_CH_HS_EN (1 << 6) |