[U-Boot] [PATCH 0/4] EXYNOS: Convert Assembly code to c and make it common.

Rajeshwari Shinde rajeshwari.s at samsung.com
Thu Apr 25 07:57:15 CEST 2013


Convert the assembly code in board/samsung to c and move the same to arch/arm.
lds file made common across SMDKV310, Origen and SMDK5250.
Add the power reset and exit wakeup api for exynos.
Initialise GPIO for uart in Origen and SMDK5250 using pinmux.

Rajeshwari Shinde (4):
  EXYNOS: Add API for power reset and exit wakeup
  EXYNOS: LDS file move to common
  EXYNOS4210: Configure GPIO for uart
  EXYNOS: Move files from board/samsung to arch/arm.

 arch/arm/cpu/armv7/exynos/Makefile                 |   14 +-
 .../arm/cpu/armv7/exynos}/clock_init.h             |    0
 arch/arm/cpu/armv7/exynos/clock_init_exynos4.c     |   63 +++
 .../arm/cpu/armv7/exynos/clock_init_exynos5.c      |   26 +-
 arch/arm/cpu/armv7/exynos/common_setup.h           |   44 ++
 .../arm/cpu/armv7/exynos}/dmc_common.c             |    7 +-
 .../arm/cpu/armv7/exynos}/dmc_init_ddr3.c          |   17 +-
 arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c       |  294 ++++++++++++
 .../arm/cpu/armv7/exynos/exynos4_setup.h           |   72 +++-
 .../arm/cpu/armv7/exynos/exynos5_setup.h           |   53 +--
 arch/arm/cpu/armv7/exynos/lowlevel_init.c          |   72 +++
 arch/arm/cpu/armv7/exynos/pinmux.c                 |   40 ++
 arch/arm/cpu/armv7/exynos/power.c                  |   50 ++
 .../arm/cpu/armv7/exynos}/spl_boot.c               |   90 +++-
 .../arm/cpu/armv7/exynos}/tzpc_init.c              |   17 +-
 arch/arm/include/asm/arch-exynos/power.h           |   10 +
 arch/arm/include/asm/arch-exynos/spl.h             |    1 +
 arch/arm/include/asm/arch-exynos/tzpc.h            |   28 ++
 .../exynos-uboot-spl.lds}                          |    0
 board/samsung/origen/Makefile                      |    7 -
 board/samsung/origen/lowlevel_init.S               |  397 -----------------
 board/samsung/origen/mem_setup.S                   |  421 ------------------
 board/samsung/origen/mmc_boot.c                    |   58 ---
 board/samsung/origen/origen.c                      |   46 ++
 board/samsung/smdk5250/Makefile                    |    9 -
 board/samsung/smdk5250/lowlevel_init.S             |    2 +
 board/samsung/smdkv310/Makefile                    |   10 +-
 board/samsung/smdkv310/lowlevel_init.S             |  470 --------------------
 board/samsung/smdkv310/mem_setup.S                 |  365 ---------------
 board/samsung/smdkv310/mmc_boot.c                  |   60 ---
 board/samsung/smdkv310/smdkv310.c                  |   44 ++
 include/configs/exynos5250-dt.h                    |   14 +-
 include/configs/origen.h                           |   10 +-
 include/configs/smdkv310.h                         |    9 +-
 spl/Makefile                                       |    4 +
 35 files changed, 921 insertions(+), 1903 deletions(-)
 rename {board/samsung/smdk5250 => arch/arm/cpu/armv7/exynos}/clock_init.h (100%)
 create mode 100644 arch/arm/cpu/armv7/exynos/clock_init_exynos4.c
 rename board/samsung/smdk5250/clock_init.c => arch/arm/cpu/armv7/exynos/clock_init_exynos5.c (97%)
 create mode 100644 arch/arm/cpu/armv7/exynos/common_setup.h
 rename {board/samsung/smdk5250 => arch/arm/cpu/armv7/exynos}/dmc_common.c (97%)
 rename {board/samsung/smdk5250 => arch/arm/cpu/armv7/exynos}/dmc_init_ddr3.c (96%)
 create mode 100644 arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c
 rename board/samsung/origen/origen_setup.h => arch/arm/cpu/armv7/exynos/exynos4_setup.h (89%)
 rename board/samsung/smdk5250/setup.h => arch/arm/cpu/armv7/exynos/exynos5_setup.h (93%)
 create mode 100644 arch/arm/cpu/armv7/exynos/lowlevel_init.c
 rename {board/samsung/smdk5250 => arch/arm/cpu/armv7/exynos}/spl_boot.c (61%)
 rename {board/samsung/smdk5250 => arch/arm/cpu/armv7/exynos}/tzpc_init.c (81%)
 rename board/samsung/{smdk5250/smdk5250-uboot-spl.lds => common/exynos-uboot-spl.lds} (100%)
 delete mode 100644 board/samsung/origen/lowlevel_init.S
 delete mode 100644 board/samsung/origen/mem_setup.S
 delete mode 100644 board/samsung/origen/mmc_boot.c
 delete mode 100644 board/samsung/smdkv310/lowlevel_init.S
 delete mode 100644 board/samsung/smdkv310/mem_setup.S
 delete mode 100644 board/samsung/smdkv310/mmc_boot.c

-- 
1.7.4.4



More information about the U-Boot mailing list