summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuillaume La Roque <glaroque@baylibre.com>2023-11-08 14:51:25 +0100
committerPraneeth Bajjuri <praneeth@ti.com>2023-11-08 17:32:58 -0600
commitfabf3ae948d5bdd77568aa08802cfe81f7be7f6a (patch)
tree2fd0397b9d147bf7287016ccf148fa88baccd852 /include
parentc5296d943c2c84dd6dcb3b91305d006ac46f3157 (diff)
configs: am62px: add android support
Add Android bootflow support for AM62PX SoC. Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am62px_evm.h5
-rw-r--r--include/configs/am62x_evm_android.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/am62px_evm.h b/include/configs/am62px_evm.h
index f00354f3b1..9a95253888 100644
--- a/include/configs/am62px_evm.h
+++ b/include/configs/am62px_evm.h
@@ -14,4 +14,9 @@
/* Now for the remaining common defines */
#include <configs/ti_armv7_common.h>
+/* include Android related settings */
+#if CONFIG_CMD_ABOOTIMG
+#include <configs/am62x_evm_android.h>
+#endif
+
#endif /* __CONFIG_AM62PX_EVM_H */
diff --git a/include/configs/am62x_evm_android.h b/include/configs/am62x_evm_android.h
index 88c780619d..91921ed35f 100644
--- a/include/configs/am62x_evm_android.h
+++ b/include/configs/am62x_evm_android.h
@@ -80,6 +80,9 @@
"elif test $board_name = am62x_beagleplay; then " \
"echo \" Reading DTB for am62x_beagleplay...\"; " \
"setenv dtb_index 2;" \
+ "elif test $board_name = am62px; then " \
+ "echo \" Reading DTB for am62px...\"; " \
+ "setenv dtb_index 3;" \
"else " \
"echo Error: Android boot is not supported for $board_name; " \
"exit; " \