toradex: config block handling
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest0 of 7 patches 0 repliesNew
Patches in v3 No applies recorded yet
None of the 7 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Max Krummenacher |
|---|---|
| Series | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v3 0/7] toradex: config block handling
Quoted 12 lines · Marcel Ziswiler
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 theshow_board_info()function, displayed as part of the board information and passed to Linux via device tree or ATAGs.
Quoted 16 lines
Changes in v3:
- introduce new patch dropping unusedCONFIG_CUSTOM_BOARDINFOby ? reverting commita9ad18c9d5fe2554753b0f9a52adfd5ebce61147
- introduce new patch makingshow_board_info()a weak function which ? allows for custom board specific implementations thereof
- fixup deactivation ofCONFIG_DISPLAY_BOARDINFOin favour of ?CONFIG_DISPLAY_BOARDINFO_LATEwhich also displays on the LCD after ? recent move thereof toKconfig
- use customshow_board_info()rather thancheckboard()and ?checkboard()rather thancheckboard_fallback()
- also reword commit message accordingly
- usecheckboard()rather thancheckboard_fallback()
- dropCUSTOM_BOARDINFO
- drop patch 1 'colibri_imx7/vf: move to customcheckboard_fallback()'
? in favour of Stefan's proposed solution
Whole series:
Quoted 67 lines
Changes in v2:
- fixedcommon.hinclude 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 toKconfigsymbols
- moved board/toradex/common/Kconfig sourcing fromarch/arm/Kconfig? into our own boardKconfigfiles
- use a named choice for the config block location for above to work ? without issuing any warnings (undocumented kbuild feature curtsey ? Arnaud Lacombe)
- addedCUSTOM_BOARDINFOinto our commonKconfigto avoid recent ?no_new_adhoc_configs_checkerror
- add Max' patch
?colibri_vf: usb gadget: toradex pid is now set genericallyMarcel Ziswiler (6):
? Revert "generic-board: allow showing custom board info" ? generic-board: makeshow_board_infoa 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 locationMax 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 100644board/toradex/common/tdx-cfg-block.h?create mode 100644board/toradex/common/tdx-common.c?create mode 100644board/toradex/common/tdx-common.h