imx: ventana: add econfig command
The Gateworks Ventana EEPROM contains a set of configuration bits that
affect the removal of device-tree nodes that support peripherals that do not
exist on sub-loaded boards. This patch adds:
- a structure to define a config bit name, dt node alias, bit position
- an array of supported configuration items
- an econfig command to get/set/list configuration bits
- use of the array when adjusting the FDT prior to boot
Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
Showing
- board/gateworks/gw_ventana/eeprom.c 165 additions, 3 deletionsboard/gateworks/gw_ventana/eeprom.c
- board/gateworks/gw_ventana/gw_ventana.c 18 additions, 82 deletionsboard/gateworks/gw_ventana/gw_ventana.c
- board/gateworks/gw_ventana/ventana_eeprom.h 11 additions, 0 deletionsboard/gateworks/gw_ventana/ventana_eeprom.h
- include/configs/gw_ventana.h 4 additions, 1 deletioninclude/configs/gw_ventana.h
Loading
Please register or sign in to comment