Skip to content

arm: add runtime envs describing build

Minkyu Kang u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 of 8 patches 0 repliesNew

1 of 8 patches is in this archive. The cover letter announces 8.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8arm:exynos: add cpu revision+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH V2 0/8] arm: add runtime envs describing build
Quoted 32 lines · Piotr Wilczek

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

Quoted 14 lines
 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(-)

applied to u-boot-samsung.

Thanks,
Minkyu Kang.