[U-Boot] [PATCH 0/2] overo: Code cleanup and reduce the size of MLO binary.

Arun Bharadwaj arun at gumstix.com
Wed Apr 22 01:56:31 CEST 2015


Hi,

This set of two patches attempts to cleanup the code for board/overo.

The first patch separates the SPL-specific code from the u-boot-specific
code. This prevents the unnecessary compilation of u-boot-related code
in the SPL binary due to this bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54303
The resulting bloated MLO did not fit in the SRAM and hence failed
to boot. This patch reduces the MLO binary size from 60kB to 50kB.

The second patch is a fix to allow SPL to load on Overo boards with
revision number >= 2410 which has been broken after v2410.10, more
specifically, after the commit a6b541b09022acb6f7c2754100ae26bd44eed1d9

Arun Bharadwaj (2):
  This separates the SPL-specific code from the u-boot-specific     code
    for the Overo board following the discussion at    
    http://lists.denx.de/pipermail/u-boot/2015-April/211622.html
  u-boot breaks for the Overo boards since the following commit:    
    a6b541b09022acb6f7c2754100ae26bd44eed1d9

 board/overo/Makefile |   6 +-
 board/overo/common.c | 310 +++++++++++++++++++++++++++++++++++++++++++++++++++
 board/overo/overo.c  | 119 +-------------------
 board/overo/overo.h  | 264 -------------------------------------------
 board/overo/spl.c    |  94 ++++++++++++++++
 5 files changed, 412 insertions(+), 381 deletions(-)
 create mode 100644 board/overo/common.c
 create mode 100644 board/overo/spl.c

-- 
1.9.1



More information about the U-Boot mailing list