u-boot/board
Marek Vasut 731fd50e27 ARM: stm32: Implement board coding on AV96
The AV96 board does exist in multiple variants. To cater for all of
them, implement board code handling. There are two GPIOs which code
the type of the board, read them out and use the value to pick the
correct device tree from an fitImage.

Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Change-Id: Iddb330b9a66500495885457cbe17edc0eacaaf43
2020-05-14 09:02:12 +02:00
..
abilis/tb100 ARC: rework setting of ARC CPU specific compiler options 2020-02-12 21:11:12 +03:00
advantech doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
alliedtelesis ddr: marvell: a38x: Allow boards to specify CK_DELAY parameter 2020-04-14 08:59:44 +02:00
altera ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK 2019-05-10 22:48:10 +02:00
amarula/vyasa-rk3288 common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
amazon/kc1 env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
amlogic arm64: dts: meson: add libretech-pc support 2020-04-06 09:56:35 +02:00
AndesTech common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
Arcturus/ucp1020 common: Move clock functions into a new file 2020-01-24 23:06:48 +05:30
aries/mcvevk arm: socfpga: Re-add support for Aries MCV SoM and MCVEV[KP] board 2019-05-14 19:52:39 +02:00
aristainetos doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
armadeus Kconfig: Remove redundant variable sets 2020-03-16 16:42:50 -04:00
armltd arm: juno: Use PSCI based reset 2020-05-07 09:01:42 -04:00
aspeed/evb_ast2500 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
astro/mcf5373l common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
atmark-techno/armadillo-800eva common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
atmel common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
avionic-design SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bachmann/ot1200 doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
barco doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
beacon/imx8mm imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit. 2020-05-10 20:55:20 +02:00
beckhoff/mx53cx9020 imx: cx9020: migrate cx9020 to CONFIG_DM_USB 2020-01-07 10:26:56 +01:00
birdland/bav335x mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
bitmain/antminer_s9 xilinx: Introduce board_late_init_xilinx() 2020-04-27 13:57:17 +02:00
bluegiga/apx4devkit env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
bluewater common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
bosch am335x, guardian: boot stage feedback in headless mode 2020-04-14 15:44:48 +05:30
boundary/nitrogen6x doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
broadcom common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
bticino/mamoj common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
buffalo/lsxl env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
BuR board: brxre1: fix building errors 2020-03-03 13:08:14 +05:30
BuS/eb_cpu5282 common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
cadence/xtfpga common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
calao/usb_a9263 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
CarMediaLab/flea3 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
cavium/thunderx common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
ccv/xpress doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
cei/cei-tk1-som SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
chipspark/popmetal_rk3288 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
cirrus/edb93xx common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
cloudengines/pogo_e02 common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
cobra5272 doc: update reference to README.board 2020-04-16 23:06:54 -04:00
compal/paz00 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
compulab dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
comtrend SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
congatec common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
coreboot x86: Add a 64-bit 'coreboot64' build 2020-05-04 15:28:28 +08:00
corscience/tricorder dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
cortina board: presidio-asic: Add basic G3 engr. development board support 2020-02-07 16:16:01 -05:00
creative/xfi3 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cssi common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
CZ.NIC arm: mvebu: turris_mox: fix PCIe ranges in device tree 2020-04-14 13:16:42 +02:00
d-link/dns325 common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
davinci/da8xxevm board: davinci: Update OMAPL138_LCDK maintainer 2019-12-26 09:06:54 -05:00
devboards/dbm-soc1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfi common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
dhelectronics ARM: stm32: Implement board coding on AV96 2020-05-14 09:02:12 +02:00
ea/mx7ulp_com mx7ulp: Add support for Embedded Artists COM board 2020-01-07 10:26:56 +01:00
ebv/socrates arm: socfpga: socrates: make rtc work 2019-04-25 00:00:49 +02:00
eets/pdu001 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
efi common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
egnite/ethernut5 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
el/el6x common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
elgin/elgin_rv1108 elgin-rv1108: Use rk_board_late_init() for GPIO settings 2020-03-26 22:58:46 +08:00
embest/mx6boards common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
emulation Revert "riscv: qemu: clear kernel-start/-end in device tree as workaround for BBL" 2020-04-23 10:13:35 +08:00
engicam common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
esd common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
firefly rk3399: Add ROC-RK3399-PC Mezzanine board 2020-05-01 18:32:56 +08:00
freescale imx: imx8qxp: update fdt_file according to m4 state 2020-05-10 20:55:20 +02:00
gardena mips: mtmips: enable SPL for all boards 2020-04-27 20:30:13 +02:00
gateworks/gw_ventana common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
gdsys common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
ge doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
geekbuying/geekbox rockchip: rk3368: Migrate to use common board file 2019-07-29 10:27:48 +08:00
google arm: imx: Add support for Google's Coral Dev Board 2020-05-01 13:49:15 +02:00
grinn common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
gumstix common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
highbank common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
hisilicon dm: core: Drop the inclusion of linux/compat.h in dm.h 2020-02-05 21:48:22 -07:00
huawei/hg556a SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ids/ids8313 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
imgtec mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
intel board: intel: agilex: Add socdk board support for Intel Agilex SoC 2020-01-07 14:38:33 +01:00
inversepath/usbarmory common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
iomega/iconnect SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
is1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
isee dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
k+p imx: pmic: Set proper pmic name for iMX53 HSC|DDC boards 2020-04-18 13:08:34 +02:00
keymile treewide: mem: Move mtest related defines to Kconfig 2020-05-08 12:02:56 -04:00
kmc/kzm9g common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
kobol/helios4 board: mvebu: drop unused ETH_PHY macro definitions 2019-01-21 11:39:50 +01:00
kosagi/novena common: Move clock functions into a new file 2020-01-24 23:06:48 +05:30
l+g/vinco common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
LaCie common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
laird common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
lego/ev3 ARM: legoev3: convert to driver model 2019-07-13 11:11:28 -04:00
lg/sniper env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
liebherr arm: xea: spl: Add GPIO0_0 setup on spl_board_init 2020-02-09 14:59:16 +01:00
logicpd ARM: imx6q_logic: Cleanup boot sequence check 2019-12-27 14:30:52 +01:00
Marvell common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
maxbcm arm: mvebu: AXP: Enhance PCIe port capability configuration 2019-04-12 07:04:18 +02:00
mediatek mips: mtmips: add support for mt7628-rfb 2020-04-27 20:30:13 +02:00
menlo/m53menlo doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
microchip dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mikrotik/crs305-1g-4s arm: mvebu: Avoid generating kwbimage.cfg in the source tree 2019-10-29 16:17:36 -04:00
mini-box/picosam9g45 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
mpc8308_p1m common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
mqmaker/miqi_rk3288 rockchip: board: rk3288: remove board_boot_order() 2019-07-20 23:59:44 +08:00
mscc common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
netgear bmips: correct name characters 2019-10-25 17:20:43 +02:00
nokia/rx51 Nokia RX-51: Remember setup_console_atag option 2020-05-11 10:16:49 +05:30
novtech/meerkat96 meerkat96: fix typo in MAINTAINERS email address 2020-01-25 12:04:36 -05:00
nvidia ARM: tegra: Add NVIDIA Jetson Nano Developer Kit support 2020-04-02 14:30:02 -07:00
olimex/mx23_olinuxino SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
opalkelly/zynq arm: zynq: Remove low level UART setting 2020-01-14 09:05:53 +01:00
overo dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
pandora omap3: pandora: Enable DM_SERIAL 2018-09-10 21:19:31 -04:00
phytec doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
phytium/durian common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
pine64/rockpro64_rk3399 rockchip: rk3399: split rockpro64 out of evb_rk3399 2019-11-17 17:22:53 +08:00
ppcag/bg0900 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qca mips: add initial support for qca956x referenced board 2019-04-12 17:32:50 +02:00
qemu-mips SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qualcomm MAINTAINERS: board: qcom: db820c: update email 2020-01-30 13:30:35 -05:00
quipos/cairo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
radxa SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
raidsonic/ib62x0 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
raspberrypi/rpi rpi: Enable DRAM bank initialization on arm64 2019-12-11 10:14:12 +01:00
renesas ARM: dts: rmobile: Synchronize Gen3 DTs with Linux 5.6.2 2020-04-28 21:34:51 +02:00
rockchip rockchip: rk3399: Add Nanopi M4 2GB board support 2020-05-01 18:32:56 +08:00
ronetix common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
sagem/f@st1704 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
samsung arm: exynos: Read default MMC device from XOM[7:5] pins 2020-01-28 09:54:05 +09:00
sandbox sandbox: implement ft_board_setup() 2020-04-16 08:07:58 -06:00
sandisk/sansa_fuze_plus SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sbc8349 common: Move device-tree setup functions to fdt_support.h 2020-01-24 23:06:48 +05:30
sbc8548 common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
sbc8641d common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
schulercontrol/sc_sps_1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Seagate common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
seco doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
seeed/linkit-smart-7688 mips: mt76xx: linkit-smart-7688: Use ioremap_nocache to get address 2018-11-18 16:02:23 +01:00
sfr/nb4_ser SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
siemens doc: update reference to README.imx8image 2020-04-16 23:06:54 -04:00
sifive/fu540 sifive: fu540: Enable spi-nor flash support 2020-04-30 22:34:20 +05:30
silica/pengwyn common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
sks-kinkel/sksimx6 Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
socrates common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
softing ARM: imx: vining2000: Properly discern PFUZE100 and PFUZE200 2020-01-20 15:37:23 +01:00
solidrun arm: mvebu: clearfog: Use Pro DT by default 2020-04-14 13:16:42 +02:00
somlabs/visionsom-6ull ARM: imx: mx6ull: Add iMX6ULL VisionSOM SoM and EVK 2020-01-20 15:38:16 +01:00
spear common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
sr1500 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
st board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED 2020-04-15 09:10:12 +02:00
ste/stemmy board: Add new Samsung "stemmy" board based on ST-Ericsson U8500 2020-01-22 17:47:57 -05:00
sunxi sunxi: Add Libre Computer ALL-H5-CC H5 board 2020-01-24 23:13:55 +05:30
Synology common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
synopsys ARC: HSDK-4xD: make init status resistant to U-boot reloading 2020-04-27 11:20:27 +03:00
sysam common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
syteco/zmx25 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
tbs/tbs2910 board: tbs2910: Convert eth to driver model 2019-10-13 22:49:11 +02:00
tcl/sl50 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
technexion ARM: imx: pico-imx8mq: Add support for Technexion Pico-iMX8MQ 2020-05-10 13:19:39 +02:00
technologic common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
terasic SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
theadorable common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
theobroma-systems dm: core: Rename ofnode_get_chosen_prop() 2020-02-05 19:33:45 -07:00
ti board: ti: README: Update OP-TEE binary name 2020-03-06 12:53:08 +05:30
timll dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
topic/zynq xilinx: Introduce board_late_init_xilinx() 2020-04-27 13:57:17 +02:00
toradex board: apalis_imx6: Add KSZ9131 phy skew settings 2020-05-01 13:46:22 +02:00
tplink/wdr4300 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tqc Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx 2020-04-20 08:45:27 -04:00
udoo common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
vamrs/rock960_rk3399 rockchip: rk3399: Migrate to use common board file 2019-07-29 10:27:48 +08:00
variscite/dart_6ul Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
varisys common: Move device-tree setup functions to fdt_support.h 2020-01-24 23:06:48 +05:30
ve8313 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
vocore/vocore2 mips: Add support for SoM "VoCore2". 2020-04-27 20:30:14 +02:00
vscom/baltos mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
wandboard wandboard: Print the board version in board_late_init() 2020-04-18 12:59:59 +02:00
warp doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
warp7 doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
work-microwave/work_92105 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
xes common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
xilinx xilinx: Move bootmode detection to separate function 2020-04-27 13:57:18 +02:00
zyxel/nsa310s common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30