]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: board: Update Odroid Go2 to Support Additional Revisions
authorChris Morgan <macromorgan@hotmail.com>
Wed, 10 May 2023 15:55:50 +0000 (10:55 -0500)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 28 Jul 2023 10:45:02 +0000 (18:45 +0800)
commitba2720b0e1fc4d5afd28e80c1cc49961b7fee3fb
tree995047225995d86819aa22d40466463acefe830d
parent05a550ffd7addddbcc173060f89a83d88bee31ed
rockchip: board: Update Odroid Go2 to Support Additional Revisions

Update the board.c file for the Odroid Go Advance to support the
Black Edition and the Odroid Go Super. The Odroid Go Advance Black
Edition differs from the original model with the addition of 2
extra buttons and an ESP8266 WiFi module. The Odroid Go Super
adds an additional 2 buttons compared to the Black Edition, along
with a larger panel and larger battery.

This change uses the value of ADC0 to determine which of these
3 models it is, and then changes the ${fdtfile} environment variable
to match the proper devicetree name in mainline Linux.

Tested on an Odroid Go Advance (first revision) and an Odroid Go Super.
The correct ${fdtfile} variable was set for each device.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/hardkernel/odroid_go2/go2.c
configs/odroid-go2_defconfig