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.
Changes since v2:
- Patch1:
- Replaced non_spl_clock_div with clock_div.
- Replaced ns_clk_div with clk_div.
- Added few new comments.
- Modified few comments.
- Patch2: None.
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 | 493 +-------------------------------
board/samsung/smdk5250/clock_init.h | 76 +++--
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, 641 insertions(+), 580 deletions(-)
create mode 100644 board/samsung/smdk5250/spl_clock_init.c
--
1.8.0
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot