Skip to content

SMDK5250: Convert lowlevel_init.S to .c and set PMIC values

Albert ARIBAUD u-boot 1 version New

Get series with b4
b4 am 20130114084805.75fbe6d1@lilith

Versions newest first

  1. v2 Latest0 of 4 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH 0/4 V2] SMDK5250: Convert lowlevel_init.S to .c and set PMIC values

Hi Rajeshwari,

Quoted 28 lines · Rajeshwari Shinde

This patch converts lowlevel_init.S to lowlevel_init_c.c. Add PMIC MAX77686 voltage settings for SMDK5250.

Changes in V2:
- Added early serial support.
- Moved patch 2 containing power apis to patch 1 due to dependency
- moved lowlevel_init.S to arch/arm/cpu/armv7/exynos and renamed as lowlevel.S
- Moved power mode #defines to power.h
- added error check for PMIC voltage settings.

Rajeshwari Shinde (4):
EXYNOS: Add functions for power initialisation
SMDK5250: Convert lowlevel_init.S to lowlevel_init.c
SMDK5250: Add PMIC voltage settings
SMDK5250: Modify IRAM stack pointer address

 arch/arm/cpu/armv7/exynos/Makefile       |    6 ++
 arch/arm/cpu/armv7/exynos/lowlevel.S     |   35 ++++++++
 arch/arm/cpu/armv7/exynos/power.c        |   27 ++++++
 arch/arm/include/asm/arch-exynos/power.h |   18 ++++
 board/samsung/smdk5250/Makefile          |    2 +-
 board/samsung/smdk5250/dmc_common.c      |    4 +-
 board/samsung/smdk5250/dmc_init_ddr3.c   |    6 +-
 board/samsung/smdk5250/lowlevel_init.S   |   96 --------------------
 board/samsung/smdk5250/lowlevel_init.c   |   81 +++++++++++++++++
 board/samsung/smdk5250/setup.h           |   19 ++++-
 board/samsung/smdk5250/smdk5250.c        |  110 +++++++++++++++++++++++-
Quoted 11 lines
 board/samsung/smdk5250/spl_boot.c        |  140 +++++++++++++++++++++++++++--
 include/configs/exynos5250-dt.h          |   11 ++-
 include/power/max77686_pmic.h            |   30 +++++++
 spl/Makefile                             |    4 +
 15 files changed, 471 insertions(+), 118 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/exynos/lowlevel.S
 delete mode 100644 board/samsung/smdk5250/lowlevel_init.S
 create mode 100644 board/samsung/smdk5250/lowlevel_init.c
Signature · 1 line
1.7.4.4

Sorry for only chiming in at V2 stage, but... lowlevel_init is supposed to be the earliest code run ever, and is supposed to set up the environment for possibly, later, setting up a C environment. So what exactly sets up the C environment *for* lowlevel_init to be able to run in C?

Amicalement,

Signature · 1 line
Albert.