u-boot-brain/board
Krzysztof Kozlowski e3ee4be321 arm: exynos: Detect revision later, when all resources are ready
Detection of board revision is done early - before power setup.  In case of
Odroid XU3/XU4/HC1 family, the detection is done using ADC which
is supplied by LDO4/VDD_ADC regulator.  This regulator could be turned
off (e.g. by kernel before reboot).  If ADC is used early, the
regulators are not yet available and the detection won't work.

Split the revision detection out of set_board_type() into separate
function called later - either when displaying board info (in late mode)
or during misc_init_r.  The idea is that set_board_type() will be called
early so its method of detection are limited to flattened device tree
(exynos5-dt-types.c for Exynos5) or GPIO (odroid.c for Exynos4412).  The
newly added set_board_revision() can be called only later, when
resources like regulator are available.

This is necessary to fix the detection of Odroid HC1 after reboot, if
kernel turned off the LDO4 regulator.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2019-03-11 15:53:19 +09:00
..
8dtech/eco5pk lib: merge CRC16-CCITT into u-boot/crc.h 2018-12-08 20:18:32 -05:00
abilis/tb100 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
advantech x86: baytrail: Drop EFI-specific test logics 2018-06-17 21:16:04 +08:00
alliedtelesis ARM: mvebu: x530: use MV_DDR_FREQ_SAR 2019-02-11 09:39:12 +01:00
alphaproject/ap_sh4a_4a SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
altera board: altera: stratix10: Add socdk board support for Stratix10 SoC 2018-07-12 09:22:12 +02:00
amarula/vyasa-rk3288 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
amazon/kc1 fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag 2018-05-30 11:59:21 +02:00
amlogic Cleanup and update towards support for Amlogic Meson AXG SoCs : 2018-11-29 15:16:58 -05:00
AndesTech riscv: configs: Rename ax25-ae350 defconfig 2018-12-18 13:25:55 +08:00
Arcturus/ucp1020 SPDX: Convert all of our multiple license tags to Linux Kernel style 2018-05-07 10:24:31 -04:00
aristainetos SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
armadeus lib: merge CRC16-CCITT into u-boot/crc.h 2018-12-08 20:18:32 -05:00
armltd Drop CONFIG_INIT_CRITICAL 2018-11-26 13:57:31 +08: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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
atmark-techno/armadillo-800eva SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
atmel board: at91sam9x5: add environment var for cpu type 2018-10-22 09:18:49 -04:00
avionic-design SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bachmann/ot1200 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
barco SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Barix/ipam390 linker: Modify linker scripts to be more generic 2019-01-26 22:55:53 -05:00
beckhoff/mx53cx9020 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
birdland/bav335x SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bitmain/antminer_s9 arm: zynq: Add support for Bitmain Antminer S9 control board 2018-05-31 13:50:39 +02:00
bluegiga/apx4devkit SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bluewater SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bosch/shc am335x, shc: adapt shc board to DM 2019-02-01 09:09:40 -05:00
boundary/nitrogen6x SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
broadcom bcm963158: use TARGET_BCM963158 instead of ARCH_BCM63158 2019-02-19 08:55:43 -05:00
bticino/mamoj Fixup various SPDX tags from the latest merge 2018-05-18 17:56:50 -04:00
buffalo/lsxl SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
BuR board/BuR/brxre1: convert do DM 2019-02-19 08:55:43 -05:00
BuS/eb_cpu5282 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cadence/xtfpga SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
calao/usb_a9263 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
CarMediaLab/flea3 board: constify struct node_info array 2018-07-25 08:47:52 +09:00
cavium/thunderx SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ccv/xpress SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cirrus/edb93xx SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cloudengines/pogo_e02 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cobra5272 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -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 usb: musb-new: Fix improper musb host pointer 2018-08-23 17:31:24 +05:30
comtrend SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
congatec x86: baytrail: Drop EFI-specific test logics 2018-06-17 21:16:04 +08:00
coreboot x86: coreboot: Add generic coreboot payload support 2018-08-20 13:52:06 +08:00
corscience/tricorder SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
creative/xfi3 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cssi board: MCR3000: use new DM watchdog 2018-12-03 10:44:10 -05:00
CZ.NIC arm: mvebu: turris_mox: Support 1 GB version of Turris Mox 2019-01-21 11:39:50 +01:00
d-link/dns325 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
davinci ARM: da8xxevm: Add NAND instructions for da850-evm to README 2019-02-19 08:55:43 -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 x86: baytrail: Drop EFI-specific test logics 2018-06-17 21:16:04 +08:00
dhelectronics/dh_imx6 ARM: imx6: DHCOM i.MX6 PDK: ddr init for 32bit bus and 4GBit chips 2018-07-23 11:02:14 +02:00
ebv/socrates SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
eets/pdu001 arm: pdu001: Fix order of include files 2019-02-28 14:21:46 -05:00
efi x86: efi-x86_payload: Enumerate PCI bus during early boot 2018-06-24 08:56:04 +08:00
egnite/ethernut5 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
el/el6x SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
elgin/elgin_rv1108 ARM: rockchip: Add rv1108-elgin-r1 board support 2018-12-16 01:30:11 +01:00
embest/mx6boards embestmx6boards: Add SPL support 2019-01-01 14:12:18 +01:00
emulation riscv: Rename cpu/qemu to cpu/generic 2019-02-27 09:12:33 +08:00
engicam i.MX6: engicam: gpr_init can be called only for some architecture 2018-07-23 10:51:14 +02:00
esd SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
espt SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
firefly/firefly-rk3288 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
freescale Merge git://git.denx.de/u-boot-fsl-qoriq 2019-03-04 13:05:53 -05:00
gardena/smart-gateway-mt7688 mips: mt76xx: gardena-smart-gateway: Add factory data variable handling 2018-11-30 17:21:44 +01:00
gateworks/gw_ventana imx: ventana: fix usage of dt paths with leading 0s (Linux 4.15+) 2019-02-15 22:01:15 +01:00
gdsys board: mvebu: drop unused ETH_PHY macro definitions 2019-01-21 11:39:50 +01:00
ge imx: mx53ppd: fix build error 2019-01-01 14:12:18 +01:00
geekbuying/geekbox SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
google rockchip: Add MAINTAINER entry for chromebook_speedy 2019-02-01 16:59:14 +01:00
grinn ARM: chiliboard: remove dead !CONFIG_DM_SERIAL code 2018-11-26 22:52:14 -05:00
gumstix SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
h2200 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hisilicon poplar: clean up board level mmc initialization code 2019-01-25 12:12:57 -05:00
htkw/mcx SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04: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 spi: Zap CONFIG_HARD_SPI 2018-11-27 21:06:53 +05:30
imgtec mips: jz47xx: Add Creator CI20 platform 2018-12-19 15:23:02 +01:00
intel x86: baytrail: Drop EFI-specific test logics 2018-06-17 21:16:04 +08:00
inversepath/usbarmory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
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 omap3: igep00x0: Switch to using TI_COMMON_CMD_OPTION 2019-01-15 15:28:42 -05:00
k+p ARM: bootscript: For nfsargs only use rootpath (and remove not needed serverip) 2018-09-14 15:22:52 +02:00
keymile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
kmc/kzm9g SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
kobol/helios4 board: mvebu: drop unused ETH_PHY macro definitions 2019-01-21 11:39:50 +01:00
kosagi/novena SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
l+g/vinco SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
LaCie SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
laird SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lego/ev3 ARM: legoev3: update boot script to load uEnv.txt and .dtb 2018-06-05 10:33:57 -04:00
lg/sniper fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag 2018-05-30 11:59:21 +02:00
liebherr display5: Add missing environment.h include to avoid warning 2018-06-18 15:44:21 +02:00
logicpd ARM: omap3_logic: Enable SPL booting device tree 2019-02-19 16:58:23 -05:00
Marvell arm64: mvebu: Add basic support for uDPU board 2019-02-05 14:23:06 +01:00
maxbcm mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
mediatek adding saveenv-command for bananapi r2 2019-01-18 09:26:04 -05:00
menlo/m53menlo arm: mx5: Add M53Menlo board 2018-10-16 10:34:19 +02:00
microchip/pic32mzda SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
micronas/vct SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mini-box/picosam9g45 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mpc8308_p1m SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mpr2 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mqmaker/miqi_rk3288 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ms7720se SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ms7722se SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ms7750se SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mscc MSCC: Fix Jaguar2 board detection. 2019-02-01 14:09:31 +01:00
netgear SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
nokia/rx51 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
nvidia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
olimex/mx23_olinuxino SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
omicron/calimain gpio: da8xx: Push generic defines of gpio.h out of mach-davinci 2018-10-10 13:35:03 -04:00
opalkelly/zynq xilinx: Move zynq_board_read_rom_ethaddr to shared location 2019-02-14 14:31:09 +01:00
overo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pandora omap3: pandora: Enable DM_SERIAL 2018-09-10 21:19:31 -04:00
phytec imx: Add PHYTEC phyBOARD-i.MX6UL-Segin 2019-01-28 12:47:27 +01:00
ppcag/bg0900 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qca SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04: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. 2018-12-03 21:50:54 -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: add Compute Module 3+ 2019-02-15 12:49:13 +01:00
renesas ARM: dts: Turn ULCB into Multi-DTB config 2018-12-04 09:21:07 +01:00
rockchip rockchip: evb_rk3399: Tidy up the README 2019-02-01 16:59:12 +01:00
ronetix SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
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: Detect revision later, when all resources are ready 2019-03-11 15:53:19 +09:00
samtec SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox sandbox: Add a memory map to the sandbox README 2018-11-26 08:25:35 -05: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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sbc8548 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sbc8641d SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
seco SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -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
shmin SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
siemens SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sifive/fu540 riscv: Add SiFive FU540 board support 2019-02-27 09:12:33 +08:00
silica/pengwyn SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sks-kinkel/sksimx6 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
socrates SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
solidrun board: mvebu: drop unused ETH_PHY macro definitions 2019-01-21 11:39:50 +01:00
spear SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sr1500 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
st MAINTAINERS: Update stm32mp entry 2018-11-09 10:44:50 -05:00
sunxi sunxi: Add Bananapi M2+ H5 board 2019-02-18 14:46:53 +05:30
Synology net.h: Include linux/if_ether.h to avoid duplication 2018-10-10 12:28:52 -05:00
synopsys arc: devboards: Implement checkboard() 2018-12-03 14:26:53 +03:00
sysam SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
syteco/zmx25 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tbs/tbs2910 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tcl/sl50 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
technexion pico-imx7d: Add LCD support 2019-01-28 12:53:48 +01:00
technologic SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
teejet/mt_ventoux SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
terasic SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
theadorable video: Armada XP: Move driver to DM_VIDEO 2019-02-05 14:23:21 +01:00
theobroma-systems rockchip: rk3399: change boot_target based on u-boot, spl-boot-device 2018-07-21 01:55:26 +02:00
ti ARM: omap3: evm: Update DM SPL support 2019-02-19 16:58:24 -05:00
timll arm: lpc32xx: add CONFIG_ARCH_LPC32XX build option 2018-10-19 12:56:58 -04:00
topic/zynq board: topic-miamiplus: Run IO PLL at 1000 MHz 2019-01-24 10:03:45 +01:00
toradex board: toradex: turn off lcd backlight before OS handover 2019-02-20 09:01:45 -07:00
tplink/wdr4300 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tqc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ucRobotics/bubblegum_96 board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
udoo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vamrs/rock960_rk3399 rockchip: rk3399: Add MAINTAINERS entry 2018-12-06 10:24:12 -05:00
varisys SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ve8313 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vscom/baltos arm: baltos: remove unused header 2018-12-03 10:44:10 -05:00
wandboard wandboard: README: Include the mx6qp variant in the list 2018-09-14 15:22:52 +02:00
warp SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
warp7 arm: imx7s-warp: Convert to DM PMIC 2019-01-28 20:55:46 +01:00
woodburn SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
work-microwave/work_92105 work_92105: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
xes SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
xilinx arm64: zynqmp: Create fdtfile from compatible string 2019-02-15 15:04:01 +01:00
zipitz2 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zyxel/nsa310s SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00