aboutsummaryrefslogtreecommitdiffstats
path: root/configs/odroid-go2_defconfig
diff options
context:
space:
mode:
authorChris Morgan <macromorgan@hotmail.com>2023-05-10 10:55:50 -0500
committerKever Yang <kever.yang@rock-chips.com>2023-07-28 18:45:02 +0800
commit3c057b4c6c38aa60fcb1fceb46bcc441a8065116 (patch)
tree995047225995d86819aa22d40466463acefe830d /configs/odroid-go2_defconfig
parent14bb9c27b7c65a5804e0f2c0d92723b6af500d47 (diff)
downloadu-boot-3c057b4c6c38aa60fcb1fceb46bcc441a8065116.tar.gz
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>
Diffstat (limited to 'configs/odroid-go2_defconfig')
-rw-r--r--configs/odroid-go2_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/odroid-go2_defconfig b/configs/odroid-go2_defconfig
index 459ae3d59c6..bdc2288af66 100644
--- a/configs/odroid-go2_defconfig
+++ b/configs/odroid-go2_defconfig
@@ -35,6 +35,7 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3326-odroid-go2.dtb"
# CONFIG_CONSOLE_MUX is not set
# CONFIG_DISPLAY_CPUINFO is not set
CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOARD_LATE_INIT=y
CONFIG_MISC_INIT_R=y
CONFIG_SPL_MAX_SIZE=0x20000
CONFIG_SPL_PAD_TO=0x7f8000