EXYNOS: Move files from board/samsung to arch/arm
authorRajeshwari Shinde <rajeshwari.s@samsung.com>
Thu, 4 Jul 2013 06:59:17 +0000 (12:29 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 5 Jul 2013 08:06:55 +0000 (17:06 +0900)
commit643be9c07e1c2abcc45d0efd4bbe562c4cb8dcaa
tree49378b324c606279433aba47cbd791d5a0a58a52
parent198a40b9f64d3c08b0303dd346ff4addca4c7e88
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>
32 files changed:
arch/arm/cpu/armv7/exynos/Makefile
arch/arm/cpu/armv7/exynos/clock_init.h [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/clock_init_exynos4.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/clock_init_exynos5.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/common_setup.h [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/dmc_common.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/exynos4_setup.h [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/exynos5_setup.h [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/lowlevel_init.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/spl_boot.c [new file with mode: 0644]
arch/arm/include/asm/arch-exynos/cpu.h
board/samsung/origen/Makefile
board/samsung/origen/lowlevel_init.S [deleted file]
board/samsung/origen/mem_setup.S [deleted file]
board/samsung/origen/mmc_boot.c [deleted file]
board/samsung/origen/origen_setup.h [deleted file]
board/samsung/smdk5250/Makefile
board/samsung/smdk5250/clock_init.c [deleted file]
board/samsung/smdk5250/clock_init.h [deleted file]
board/samsung/smdk5250/dmc_common.c [deleted file]
board/samsung/smdk5250/dmc_init_ddr3.c [deleted file]
board/samsung/smdk5250/setup.h [deleted file]
board/samsung/smdk5250/spl_boot.c [deleted file]
board/samsung/smdkv310/Makefile
board/samsung/smdkv310/lowlevel_init.S [deleted file]
board/samsung/smdkv310/mem_setup.S [deleted file]
board/samsung/smdkv310/mmc_boot.c [deleted file]
include/configs/exynos5250-dt.h
include/configs/origen.h
include/configs/smdkv310.h