[U-Boot] [PATCH V2 0/8] arm: add runtime envs describing build

Piotr Wilczek p.wilczek at samsung.com
Wed Jan 22 15:54:29 CET 2014


This patchset adds runtime variables for Samsung boards that describe
build configuration (arch, soc, board, vendor).

Additionally, more envs describing platform (soc and board revision) are added
to Samsung common code.

For boards Trats and Trats2, based on the added envs, 'fdtfile' env is set
and dual kernel boot is enabled:
 - with separated DTB if the DTB file is loaded successfully;
 - with DTB apppended to uImage if DTB file is not found;
This is neccesssary for backward compatibilty.

THis patchset depends on the patchset:
[PATCH v6 00/11] Introduce Samsung misc file and LCD menu.
http://patchwork.ozlabs.org/patch/313186/
...
http://patchwork.ozlabs.org/patch/313192/

Changes for V2:
 - rebased against current u-boot0samsung branch

Piotr Wilczek (8):
  arm:exynos: add cpu revision
  arm:s5pc110: add cpu revision
  board:samsung:common: set envs with board unified information
  board:samsung:goni: add env variables describing platform
  board:samsung:universal: add env variables describing platform
  board:samsung:trats: add env variables describing platform
  board:samsung:trats2: add env variables describing platform
  board:samsung:trats/trats2: enable boot with appended and separated
    DTB

 arch/arm/include/asm/arch-exynos/cpu.h   |    8 ++++++--
 arch/arm/include/asm/arch-s5pc1xx/cpu.h  |    7 +++++++
 board/samsung/common/misc.c              |   24 ++++++++++++++++++++++++
 board/samsung/goni/goni.c                |   17 +++++++++++++++++
 board/samsung/trats/trats.c              |    3 +++
 board/samsung/trats2/trats2.c            |    3 +++
 board/samsung/universal_c210/universal.c |    3 +++
 include/configs/s5p_goni.h               |    6 ++++++
 include/configs/s5pc210_universal.h      |    3 +++
 include/configs/trats.h                  |   12 +++++++++---
 include/configs/trats2.h                 |   12 +++++++++---
 include/samsung/misc.h                   |   12 ++++++++----
 12 files changed, 98 insertions(+), 12 deletions(-)

-- 
1.7.9.5



More information about the U-Boot mailing list