public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] mpc8313: ids8313 board updates
@ 2014-05-08 11:05 Heiko Schocher
  2014-05-08 11:05 ` [U-Boot] [PATCH 1/4] bootm: allow to disable legacy image format Heiko Schocher
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Heiko Schocher @ 2014-05-08 11:05 UTC (permalink / raw)
  To: u-boot

- introduce CONFIG_DISABLE_IMAGE_FORMAT_LEGACY for disabling
  booting legacy image format, as this board use only signed
  FIT images, and activiate it for the ids8313 board.

- add CONFIG_SYS_GENERIC_BOARD to the ids8313 board,
  therefore fdtdec_get_int() is moved out of lib/fdtdec.c
  as lib/fdtdec.c is only compiled if CONFIG_OF_CONTROL
  is defined, but defining this for the ids8313 board
  leads in conjunction with CONFIG_SYS_GENERIC_BOARD
  in booting error:

No valid FDT found - please append one to U-Boot binary, use u-boot-dtb.bin or define CONFIG_OF_EMBED. For sandbox, use -d <file.dtb>

  So move the common used function fdtdec_get_int()
  out of lib/fdtdec.c into lib/fdtdec_common.c

Cc: Simon Glass <sjg@chromium.org>
Cc: Kim Phillips <kim.phillips@freescale.com>
Cc: Wolfgang Denk <wd@denx.de>

Heiko Schocher (4):
  bootm: allow to disable legacy image format
  mpc8313, signed fit: disable legacy image format on ids8313 board
  lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c
  mpc8313: add CONFIG_SYS_GENERIC_BOARD to ids8313 board

 README                       |  5 +++++
 common/cmd_bootm.c           | 14 ++++++++++++
 common/cmd_disk.c            |  4 ++++
 common/cmd_fdc.c             |  4 ++++
 common/cmd_fpga.c            |  2 ++
 common/cmd_nand.c            |  4 ++++
 common/cmd_source.c          |  4 ++++
 common/cmd_ximg.c            |  7 +++++-
 common/image-fdt.c           | 10 +++++++--
 common/image.c               | 23 +++++++++++++------
 doc/uImage.FIT/signature.txt |  3 +++
 include/configs/ids8313.h    |  4 +++-
 include/image.h              |  2 ++
 lib/Makefile                 |  1 +
 lib/fdtdec.c                 | 18 ---------------
 lib/fdtdec_common.c          | 53 ++++++++++++++++++++++++++++++++++++++++++++
 tools/fdtdec.c               |  1 +
 17 files changed, 130 insertions(+), 29 deletions(-)
 create mode 100644 lib/fdtdec_common.c

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-05-12 15:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 11:05 [U-Boot] [PATCH 0/4] mpc8313: ids8313 board updates Heiko Schocher
2014-05-08 11:05 ` [U-Boot] [PATCH 1/4] bootm: allow to disable legacy image format Heiko Schocher
2014-05-08 13:02   ` mike
2014-05-09  4:29     ` Wolfgang Denk
2014-05-09  5:12     ` Heiko Schocher
2014-05-09 13:13       ` Simon Glass
2014-05-09 13:35         ` Wolfgang Denk
2014-05-09 18:47           ` Simon Glass
2014-05-09 19:12             ` Tom Rini
2014-05-12  7:36               ` Heiko Schocher
2014-05-12 15:00                 ` Tom Rini
2014-05-08 11:05 ` [U-Boot] [PATCH 2/4] mpc8313, signed fit: disable legacy image format on ids8313 board Heiko Schocher
2014-05-08 20:19   ` Kim Phillips
2014-05-08 11:05 ` [U-Boot] [PATCH 3/4] lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c Heiko Schocher
2014-05-09 19:59   ` Simon Glass
2014-05-12  7:09     ` Heiko Schocher
2014-05-08 11:05 ` [U-Boot] [PATCH 4/4] mpc8313: add CONFIG_SYS_GENERIC_BOARD to ids8313 board Heiko Schocher
2014-05-08 20:19   ` Kim Phillips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox