u-boot/arch
Marek Szyprowski 8bc780106c board: amlogic: odroid: add runtime detection of the N2/N2+/C4/HC4 variants
Use the ADC channel 1 to check the hardware revision of the board and
detect the N2 vs. N2+ and the C4 vs. HC4 variants. Each of them use
different dtb file, so adjust fdtfile environment variable to the
detected variant.

The ADC min/max values for each variant are taken from the vendor code,
adjusted to the 12-bit ADC driver operation mode (vendor code use 10-bit
mode).

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2021-02-10 10:00:51 +01:00
..
arc Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
arm board: amlogic: odroid: add runtime detection of the N2/N2+/C4/HC4 variants 2021-02-10 10:00:51 +01:00
m68k bdinfo: Rename function names to be clearer 2021-02-03 03:38:41 -07:00
microblaze microblaze: Enable GCC garbage collector for full U-Boot 2020-11-20 10:42:53 +01:00
mips mips: mtmips: add two reference boards for mt7620 2021-01-24 21:39:26 +01:00
nds32 arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header 2021-01-05 12:24:40 -07:00
nios2 arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header 2021-01-05 12:24:40 -07:00
powerpc gpio: mpc8xxx_gpio: Fix for litte endian 2021-02-08 14:01:19 +05:30
riscv riscv: Change phys_addr_t and phys_size_t to 64-bit 2021-02-03 03:38:41 -07:00
sandbox sandbox: keep time offset when resetting 2021-01-30 14:25:42 -07:00
sh arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header 2021-01-05 12:24:40 -07:00
x86 x86: qemu: Fix broken multi-core boot 2021-02-03 22:54:56 +08:00
xtensa arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header 2021-01-05 12:24:40 -07:00
.gitignore
Kconfig linker_lists: Fix alignment issue 2020-12-18 20:32:21 -07:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00