public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Max Krummenacher <max.krummenacher@toradex.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/7] toradex: config block handling
Date: Thu, 20 Oct 2016 15:31:35 +0000	[thread overview]
Message-ID: <1476977494.1668.2.camel@toradex.com> (raw)
In-Reply-To: <1476317503-7062-1-git-send-email-marcel.ziswiler@toradex.com>

On Thu, 2016-10-13 at 02:11 +0200, Marcel Ziswiler wrote:
> This series integrates Toradex factory configuration block handling.
> The
> config block is a data structure which gets stored to flash during
> production testing. The structure holds such information as board
> resp.
> hardware revision, product ID and serial number which is used as the
> NIC
> part of the Ethernet MAC address as well. The config block will be
> read
> upon boot by the show_board_info() function, displayed as part of the
> board information and passed to Linux via device tree or ATAGs.
> 
> Changes in v3:
> - introduce new patch dropping unused CONFIG_CUSTOM_BOARDINFO by
> ? reverting commit a9ad18c9d5fe2554753b0f9a52adfd5ebce61147
> - introduce new patch making show_board_info() a weak function which
> ? allows for custom board specific implementations thereof
> - fixup deactivation of CONFIG_DISPLAY_BOARDINFO in favour of
> ? CONFIG_DISPLAY_BOARDINFO_LATE which also displays on the LCD after
> ? recent move thereof to Kconfig
> - use custom show_board_info() rather than checkboard() and
> ? checkboard() rather than checkboard_fallback()
> - also reword commit message accordingly
> - use checkboard() rather than checkboard_fallback()
> - drop CUSTOM_BOARDINFO
> - drop patch 1 'colibri_imx7/vf: move to custom
> checkboard_fallback()'
> ? in favour of Stefan's proposed solution

Whole series:
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>


> 
> Changes in v2:
> - fixed common.h include mess in board/toradex/common by renaming
> ? common* to tdx-common
> - renamed TRDX to TDX and trdx to tdx as in common use internally
> - consolidated makefiles and changed copyright message
> - renamed configblock* to tdx-cfg-block* analogous to Kconfig symbols
> - moved board/toradex/common/Kconfig sourcing from arch/arm/Kconfig
> ? into our own board Kconfig files
> - use a named choice for the config block location for above to work
> ? without issuing any warnings (undocumented kbuild feature curtsey
> ? Arnaud Lacombe)
> - added CUSTOM_BOARDINFO into our common Kconfig to avoid recent
> ? no_new_adhoc_configs_check error
> - add Max' patch
> ? colibri_vf: usb gadget: toradex pid is now set generically
> 
> Marcel Ziswiler (6):
> ? Revert "generic-board: allow showing custom board info"
> ? generic-board: make show_board_info a weak function
> ? apalis/colibri_t20/t30: deactivate displaying board info
> ? toradex: config block handling
> ? apalis/colibri_imx7/pxa270/t20/t30/vf: integrate config block
> handling
> ? apalis/colibri_t30: move environment location
> 
> Max Krummenacher (1):
> ? colibri_vf: usb gadget: toradex pid is now set generically
> 
> ?board/toradex/apalis_t30/Kconfig??????????????|??18 +
> ?board/toradex/apalis_t30/apalis_t30.c?????????|??12 +-
> ?board/toradex/colibri_imx7/Kconfig????????????|??16 +
> ?board/toradex/colibri_pxa270/Kconfig??????????|??11 +
> ?board/toradex/colibri_pxa270/colibri_pxa270.c |???8 +
> ?board/toradex/colibri_t20/Kconfig?????????????|??11 +
> ?board/toradex/colibri_t20/colibri_t20.c???????|??13 +
> ?board/toradex/colibri_t30/Kconfig?????????????|??18 +
> ?board/toradex/colibri_t30/colibri_t30.c???????|???9 +-
> ?board/toradex/colibri_vf/Kconfig??????????????|??14 +
> ?board/toradex/colibri_vf/colibri_vf.c?????????|??16 -
> ?board/toradex/common/Kconfig??????????????????|??76 ++++
> ?board/toradex/common/Makefile?????????????????|??11 +
> ?board/toradex/common/tdx-cfg-block.c??????????| 544
> ++++++++++++++++++++++++++
> ?board/toradex/common/tdx-cfg-block.h??????????|??68 ++++
> ?board/toradex/common/tdx-common.c?????????????| 168 ++++++++
> ?board/toradex/common/tdx-common.h?????????????|??13 +
> ?common/board_info.c???????????????????????????|???4 +-
> ?configs/apalis_t30_defconfig??????????????????|???1 +
> ?configs/colibri_t20_defconfig?????????????????|???1 +
> ?configs/colibri_t30_defconfig?????????????????|???1 +
> ?configs/colibri_vf_defconfig??????????????????|???1 +
> ?include/configs/apalis_t30.h??????????????????|??11 +-
> ?include/configs/colibri_imx7.h????????????????|???6 +-
> ?include/configs/colibri_pxa270.h??????????????|???7 +-
> ?include/configs/colibri_t20.h?????????????????|???2 +-
> ?include/configs/colibri_t30.h?????????????????|??11 +-
> ?include/configs/colibri_vf.h??????????????????|??13 +-
> ?scripts/config_whitelist.txt??????????????????|???5 -
> ?29 files changed, 1041 insertions(+), 48 deletions(-)
> ?create mode 100644 board/toradex/common/Kconfig
> ?create mode 100644 board/toradex/common/Makefile
> ?create mode 100644 board/toradex/common/tdx-cfg-block.c
> ?create mode 100644 board/toradex/common/tdx-cfg-block.h
> ?create mode 100644 board/toradex/common/tdx-common.c
> ?create mode 100644 board/toradex/common/tdx-common.h
> 

      parent reply	other threads:[~2016-10-20 15:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-13  0:11 [U-Boot] [PATCH v3 0/7] toradex: config block handling Marcel Ziswiler
2016-10-13  0:11 ` [U-Boot] [PATCH v3 1/7] Revert "generic-board: allow showing custom board info" Marcel Ziswiler
2016-10-13 13:40   ` Tom Rini
2016-10-13  0:11 ` [U-Boot] [PATCH v3 2/7] generic-board: make show_board_info a weak function Marcel Ziswiler
2016-10-13 13:41   ` Tom Rini
2016-10-13  0:11 ` [U-Boot] [PATCH v3 3/7] apalis/colibri_t20/t30: deactivate displaying board info Marcel Ziswiler
2016-10-13  0:11 ` [U-Boot] [PATCH v3 4/7] toradex: config block handling Marcel Ziswiler
2016-10-13  0:11 ` [U-Boot] [PATCH v3 5/7] apalis/colibri_imx7/pxa270/t20/t30/vf: integrate " Marcel Ziswiler
2016-10-13  0:11 ` [U-Boot] [PATCH v3 6/7] apalis/colibri_t30: move environment location Marcel Ziswiler
2016-10-13  0:11 ` [U-Boot] [PATCH v3 7/7] colibri_vf: usb gadget: toradex pid is now set generically Marcel Ziswiler
2016-10-27 23:20   ` Stefan Agner
2016-10-20 15:31 ` Max Krummenacher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476977494.1668.2.camel@toradex.com \
    --to=max.krummenacher@toradex.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox