[U-Boot] [PATCH 0/2 v2] Exynos5: spl: Reduce spl size

Akshay Saraswat akshay.s at samsung.com
Tue Mar 5 11:53:48 CET 2013


This patch set tries to gain some space in spl by
restructuring and reorganising some code in two different
clock init's for two different times of execution.

Compiler arm-2011.09:
With patches u-boot-spl.bin size - 3900 bytes.
Without patches u-boot-spl.bin size - 4924 bytes.

Compiler arm-2009q3:
With patches u-boot-spl.bin size - 4412 bytes.
Without patches u-boot-spl.bin size - 5692 bytes.

Changes since v1:
	- Patch1: Rebased on ToT.
	- Patch2: Rebased on ToT.

Akshay Saraswat (2):
  Exynos5: spl: Reorganize mem_timing struct to gain space in spl
  Exynos5: spl: Reduce clock init in spl

 board/samsung/smdk5250/Makefile         |   3 +-
 board/samsung/smdk5250/clock_init.c     | 506 +-------------------------------
 board/samsung/smdk5250/clock_init.h     |  57 ++--
 board/samsung/smdk5250/dmc_common.c     |  40 +--
 board/samsung/smdk5250/dmc_init_ddr3.c  | 116 ++++----
 board/samsung/smdk5250/lowlevel_init.S  |   4 +-
 board/samsung/smdk5250/setup.h          |  16 +-
 board/samsung/smdk5250/smdk5250.c       |   4 +
 board/samsung/smdk5250/spl_clock_init.c | 469 +++++++++++++++++++++++++++++
 9 files changed, 625 insertions(+), 590 deletions(-)
 create mode 100644 board/samsung/smdk5250/spl_clock_init.c

-- 
1.8.0



More information about the U-Boot mailing list