diff options
author | Rajeshwari Shinde <rajeshwari.s@samsung.com> | 2013-07-04 12:29:17 +0530 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-07-05 17:06:55 +0900 |
commit | 643be9c07e1c2abcc45d0efd4bbe562c4cb8dcaa (patch) | |
tree | 49378b324c606279433aba47cbd791d5a0a58a52 /include/configs/origen.h | |
parent | 198a40b9f64d3c08b0303dd346ff4addca4c7e88 (diff) | |
download | u-boot-imx-643be9c07e1c2abcc45d0efd4bbe562c4cb8dcaa.zip u-boot-imx-643be9c07e1c2abcc45d0efd4bbe562c4cb8dcaa.tar.gz u-boot-imx-643be9c07e1c2abcc45d0efd4bbe562c4cb8dcaa.tar.bz2 |
EXYNOS: Move files from board/samsung to arch/arm
This patch performs the following:
1) Convert the assembly code for memory and clock initialization to C code.
2) Move the memory and clock init codes from board/samsung to arch/arm
3) Creat a common lowlevel_init file across Exynos4 and Exynos5. Converted
the common lowlevel_init from assembly to C-code
4) Made spl_boot.c and tzpc_init.c common for both exynos4 and exynos5.
5) Enable CONFIG_SKIP_LOWLEVEL_INIT as stack pointer initialisation is already
done in _main.
6) exynos-uboot-spl.lds made common across SMDKV310, Origen and SMDK5250.
TEST: Tested SD-MMC boot on SMDK5250 and Origen.
Tested USB and SPI boot on SMDK5250
Compile tested for SMDKV310.
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/origen.h')
-rw-r--r-- | include/configs/origen.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/origen.h b/include/configs/origen.h index f71a463..5013aee 100644 --- a/include/configs/origen.h +++ b/include/configs/origen.h @@ -68,6 +68,8 @@ #define CONFIG_BAUDRATE 115200 #define EXYNOS4_DEFAULT_UART_OFFSET 0x020000 +#define CONFIG_SKIP_LOWLEVEL_INIT + /* SD/MMC configuration */ #define CONFIG_GENERIC_MMC #define CONFIG_MMC @@ -148,7 +150,10 @@ #define CONFIG_ENV_OFFSET (RESERVE_BLOCK_SIZE + BL1_SIZE) #define CONFIG_DOS_PARTITION 1 -#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - GENERATED_GBL_DATA_SIZE) +#define CONFIG_SPL_LDSCRIPT "board/samsung/common/exynos-uboot-spl.lds" +#define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024) + +#define CONFIG_SYS_INIT_SP_ADDR 0x02040000 /* U-boot copy size from boot Media to DRAM.*/ #define COPY_BL2_SIZE 0x80000 @@ -157,4 +162,5 @@ /* Enable devicetree support */ #define CONFIG_OF_LIBFDT + #endif /* __CONFIG_H */ |