]> git.dujemihanovic.xyz Git - u-boot.git/commit
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>
25 files changed:
arch/arm/cpu/armv7/exynos/Makefile
arch/arm/cpu/armv7/exynos/clock_init.h [moved from board/samsung/smdk5250/clock_init.h with 100% similarity]
arch/arm/cpu/armv7/exynos/clock_init_exynos4.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/clock_init_exynos5.c [moved from board/samsung/smdk5250/clock_init.c with 94% similarity]
arch/arm/cpu/armv7/exynos/common_setup.h [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/dmc_common.c [moved from board/samsung/smdk5250/dmc_common.c with 97% similarity]
arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c [moved from board/samsung/smdk5250/dmc_init_ddr3.c with 92% similarity]
arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/exynos4_setup.h [moved from board/samsung/origen/origen_setup.h with 65% similarity]
arch/arm/cpu/armv7/exynos/exynos5_setup.h [moved from board/samsung/smdk5250/setup.h with 96% similarity]
arch/arm/cpu/armv7/exynos/lowlevel_init.c [new file with mode: 0644]
arch/arm/cpu/armv7/exynos/spl_boot.c [moved from board/samsung/smdk5250/spl_boot.c with 74% similarity]
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/smdk5250/Makefile
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