u-boot-brain/board
Christopher Spinrath a865466674 ARM: imx: cm_fx6: export board and soc info to env
Like many other i.MX6 based boards, there are multiple variants of
the cm-fx6 module featuring different SoC variants. Furthermore, the
module can be paired with multiple baseboards.

At the same time modern distribution like Fedora require U-Boot to
select a proper devicetree which depends on the SoC variant and the
baseboard.

Thus, export the SoC variant and the actual board to the environment
following the conventions of other i.MX6 devices (e.g. the NXP boards)
such that the environment can select a devicetree file to load.

For now, we only know for sure that the cm-fx6 module and the SB-fx6m
baseboard amount to a Utilite Computer variant (depending on the SoC).
Further combinations may be added in the future; e.g. CompuLab's
evaluation board once someone can verify the identification string
stored in its eeprom.

Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
(cherry picked from commit dbeaa1d131)
2018-01-13 12:20:21 -02:00
..
8dtech/eco5pk
abilis/tb100
advantech x86: baytrail: fsp: Move Azalia update codes to board 2017-10-19 11:37:51 +08:00
alphaproject/ap_sh4a_4a
altera MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
amarula/vyasa-rk3288 rk3288: vyasa: Add falcon mode support 2017-10-01 00:33:33 +02:00
amazon/kc1 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
amlogic boards: amlogic: khadas-vim: Typo fixup 2018-01-02 07:57:34 -05:00
AndesTech nds32: board: Support ftsdc010 DM. 2017-11-30 10:04:25 +08:00
Arcturus/ucp1020 powerpc: mpc85xx: Fix static TLB table for SDRAM 2017-12-06 14:54:12 -08:00
aries env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
aristainetos imx: Include <input.h> header file 2017-10-12 17:31:16 +02:00
armadeus spl: add hierarchical defaults for SPL_LDSCRIPT 2017-08-13 17:12:37 +02:00
armltd mmc: arm_pl180_mmci: update arm_pl180_mmci_init() prototype 2017-11-17 07:44:13 -05:00
aspeed/evb_ast2500 MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
astro/mcf5373l
atmark-techno/armadillo-800eva
atmel mtd: nand: Rename nand.h into rawnand.h 2017-12-04 22:00:00 +09:00
avionic-design
bachmann/ot1200 imx6: drop duplicated bss memset and board_init_r() call 2017-09-18 17:15:28 +02:00
barco imx: imx6: Move gpr_init() function to soc.c 2017-08-28 09:48:53 +02:00
Barix/ipam390 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
beckhoff/mx53cx9020 imx: Include <input.h> header file 2017-10-12 17:31:16 +02:00
birdland/bav335x env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
bluegiga/apx4devkit env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
bluewater env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
bosch/shc env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
boundary/nitrogen6x env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
broadcom env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
buffalo/lsxl env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
BuR env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
BuS/eb_cpu5282 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
cadence/xtfpga env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
calao/usb_a9263 board: usb_a9263: Update to support DT and DM 2017-08-04 20:38:38 -04:00
CarMediaLab/flea3 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
cavium/thunderx
ccv/xpress i.mx6ul: xpress: update UART init for current board revision 2017-10-12 17:58:42 +02:00
cei/cei-tk1-som
chipspark/popmetal_rk3288
cirrus/edb93xx
cloudengines/pogo_e02
cobra5272
compal/paz00
compulab ARM: imx: cm_fx6: export board and soc info to env 2018-01-13 12:20:21 -02:00
comtrend
congatec imx: Include <input.h> header file 2017-10-12 17:31:16 +02:00
coreboot
corscience/tricorder
creative/xfi3
cssi env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
CZ.NIC/turris_omnia arm: mvebu: correct comments around cas_wl/cas_l 2017-11-30 08:30:59 +01:00
d-link/dns325
davinci arm: da850-evm: Enable DM and device tree support for da850-evm 2017-09-29 10:52:21 -04:00
dbau1x00
dfi x86: dfi-bt700: Select SERIAL_RX_BUFFER via Kconfig 2017-08-24 11:00:47 +08:00
dhelectronics/dh_imx6 ARM: imx6: Disable DDR DRAM calibration DHCOM i.MX6 PDK 2017-12-29 11:18:59 +01:00
ebv/socrates
efi
egnite/ethernut5 board: ethernut5: Update to support DT and DM 2017-08-04 20:38:37 -04:00
el/el6x imx: Include <input.h> header file 2017-10-12 17:31:16 +02:00
embest/mx6boards board: imx6: marsboard: Remove doubled #include <asm/arch/sys_proto.h> 2017-11-09 11:32:49 +01:00
emulation ARM: Add a new arch + board for QEMU's 'virt' machine 2017-10-06 11:28:16 -04:00
engicam board: engicam: Fix to remove legacy board/icorem6_rqs 2018-01-08 17:36:54 +01:00
esd Drop CONFIG_HAS_DATAFLASH 2017-10-16 09:42:51 -04:00
espt
firefly/firefly-rk3288
freescale mx6memcal: spl: Disambiguate the error message 2018-01-13 12:20:21 -02:00
gateworks/gw_ventana imx: ventana: Rework CONFIG_CMD_GSC code to not be included in SPL 2018-01-13 12:20:21 -02:00
gdsys powerpc: mpc85xx: Fix static TLB table for SDRAM 2017-12-06 14:54:12 -08:00
ge board: ge: mx53ppd: Move check_time() to common location 2017-12-29 11:17:22 +01:00
geekbuying/geekbox
google
grinn env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
gumstix env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
h2200
highbank env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
hisilicon ARM: hisilicon: hikey: Fix eMMC with latest ATF & U-Boot 2017-08-20 09:54:31 -04:00
htkw/mcx env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
huawei/hg556a
ids/ids8313
imgtec boston: Add u-boot.mcs make target 2017-11-28 21:59:30 +01:00
imx31_phycore
intel x86: edison: Bring minimal ACPI support to the board 2017-10-07 15:07:59 +08:00
inversepath/usbarmory
iomega/iconnect
is1 arm: socfpga: is1: Adding handoff for SDRAM ctrlcfg.extratime1 2016-10-27 08:03:10 +02:00
isee mtd: nand: Rename nand.h into rawnand.h 2017-12-04 22:00:00 +09:00
keymile env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
kmc/kzm9g
kosagi/novena imx6: drop duplicated bss memset and board_init_r() call 2017-09-18 17:15:28 +02:00
l+g/vinco
LaCie env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
laird board: laird: add WB50N CPU module 2017-11-29 22:36:59 -05:00
lego/ev3
lg/sniper env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
liebherr imx:display5: Add support for LWN's DISPLAY5 board 2017-11-09 11:32:49 +01:00
logicpd ARM: omap3_logic: Enable NAND unlocking during Falcon mode 2017-12-12 21:33:38 -05:00
Marvell arm: mvebu: correct comments around cas_wl/cas_l 2017-11-30 08:30:59 +01:00
maxbcm
microchip/pic32mzda
micronas/vct env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mini-box/picosam9g45 mtd: nand: Rename nand.h into rawnand.h 2017-12-04 22:00:00 +09:00
mpc8308_p1m
mpr2
mqmaker/miqi_rk3288
ms7720se
ms7722se
ms7750se
netgear/cg3100d
nokia/rx51 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
nvidia MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
olimex/mx23_olinuxino
omicron/calimain
opalkelly/zynq arm: zynq: Convert all board to use arch ps7_init code 2017-11-29 08:02:39 +01:00
overo mtd: nand: Rename nand.h into rawnand.h 2017-12-04 22:00:00 +09:00
pandora
pb1x00
phytec MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
ppcag/bg0900
qca
qemu-mips
qualcomm/dragonboard410c MAINTAINERS: board: qcom: db410c: Maintainer changed 2017-09-11 13:34:31 -04:00
quipos/cairo
radxa
raidsonic/ib62x0
raspberrypi/rpi add support for Raspberry Pi Zero W 2017-12-04 09:59:02 -05:00
renesas ARM: rmobile: Add R8A77995 D3 Draak board 2017-12-09 13:36:27 +01:00
rockchip rockchip: evb-rk3399: update document for board bring up 2017-12-18 17:17:51 +01:00
ronetix Drop CONFIG_HAS_DATAFLASH 2017-10-16 09:42:51 -04:00
sagem/f@st1704
samsung ARM: Samsung: Add Exynos5422-based Odroid HC1 support 2017-12-05 10:18:39 +09:00
samtec env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
sandbox GPT: create block device for sandbox testing 2017-09-14 21:32:57 -04:00
sandisk/sansa_fuze_plus
sbc8349
sbc8548 powerpc: mpc85xx: Fix static TLB table for SDRAM 2017-12-06 14:54:12 -08:00
sbc8641d
schulercontrol/sc_sps_1
Seagate
seco
sfr/nb4_ser
shmin
siemens mtd: nand: Rename nand.h into rawnand.h 2017-12-04 22:00:00 +09:00
silica/pengwyn env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
sks-kinkel/sksimx6 mx6: Support SKS-Kinkel sksimx6 Board 2018-01-13 12:20:20 -02:00
socrates env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
solidrun arm: mvebu: correct comments around cas_wl/cas_l 2017-11-30 08:30:59 +01:00
spear board/spear/common: move code to arch/arm/cpu/arm926ejs/spear/ 2017-08-26 14:56:10 -04:00
sr1500
st mach-stm32: Factorize MPU's region config for STM32 SoCs 2017-11-29 22:30:50 -05:00
sunxi sunxi: Fix A20-OLinuXino-MICRO LAN8710 support 2017-12-07 10:57:23 +05:30
Synology MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
synopsys ARC: HSDK: Fixup DW SDIO CIU frequency to 50000000Hz 2017-12-11 11:36:22 +03:00
sysam m68k: add board stmark2, mcf5441x based 2017-08-18 01:26:52 +02:00
syteco/zmx25 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
tbs/tbs2910
tcl/sl50 env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
technexion pico-imx7d: Add "how to boot with NXP 4.1 Kernel" 2017-09-18 17:15:28 +02:00
technologic imx: Include <input.h> header file 2017-10-12 17:31:16 +02:00
teejet/mt_ventoux env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
terasic
theadorable arm: mvebu: Remove theadorable_defconfig 2017-09-26 06:51:37 +02:00
theobroma-systems rockchip: board: lion-rk3368: reduce env-size default to 8KiB 2018-01-02 19:12:53 +01:00
ti ARM: omap3: evm: Refactor 'board_eth_init' 2018-01-01 09:04:19 -05:00
timll env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
topic/zynq arm: zynq: Move common ps7_init* initialization to arch code 2017-11-29 08:02:39 +01:00
toradex toradex: imx6: Rework PF0100 fuse programming commands to not be in SPL 2018-01-13 12:20:21 -02:00
tplink/wdr4300
tqc env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
udoo udoo: Remove cpu type check prior to setup_sata() 2017-10-31 11:13:56 +01:00
varisys env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
ve8313
vscom/baltos env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
wandboard Revert "wandboard: Remove unnecessary delay" 2017-11-20 09:54:09 +01:00
warp warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case 2017-12-29 11:18:59 +01:00
warp7 imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
woodburn
work-microwave/work_92105 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
xes env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
xilinx arm64: zynqmp: Access timestamp_ref_ctrl register only if running in el3 2017-12-18 09:32:07 +01:00
zipitz2
zyxel/nsa310s