From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 14 Jan 2013 08:48:05 +0100 Subject: [U-Boot] [PATCH 0/4 V2] SMDK5250: Convert lowlevel_init.S to .c and set PMIC values In-Reply-To: <1357564126-13275-1-git-send-email-rajeshwari.s@samsung.com> References: <1357564126-13275-1-git-send-email-rajeshwari.s@samsung.com> Message-ID: <20130114084805.75fbe6d1@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Rajeshwari, On Mon, 07 Jan 2013 18:38:42 +0530, Rajeshwari Shinde wrote: > 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 +++++++++++++++++++++++- > 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 > > -- > 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, -- Albert.