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>
This commit is contained in:
parent
c5296d943c
commit
fabf3ae948
|
|
@ -21,3 +21,7 @@ mmcdev=1
|
||||||
bootpart=1:2
|
bootpart=1:2
|
||||||
bootdir=/boot
|
bootdir=/boot
|
||||||
rd_spec=-
|
rd_spec=-
|
||||||
|
|
||||||
|
#if CONFIG_CMD_ABOOTIMG
|
||||||
|
#include <environment/ti/mmc_android.env>
|
||||||
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,9 @@
|
||||||
/* Now for the remaining common defines */
|
/* Now for the remaining common defines */
|
||||||
#include <configs/ti_armv7_common.h>
|
#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 */
|
#endif /* __CONFIG_AM62PX_EVM_H */
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,9 @@
|
||||||
"elif test $board_name = am62x_beagleplay; then " \
|
"elif test $board_name = am62x_beagleplay; then " \
|
||||||
"echo \" Reading DTB for am62x_beagleplay...\"; " \
|
"echo \" Reading DTB for am62x_beagleplay...\"; " \
|
||||||
"setenv dtb_index 2;" \
|
"setenv dtb_index 2;" \
|
||||||
|
"elif test $board_name = am62px; then " \
|
||||||
|
"echo \" Reading DTB for am62px...\"; " \
|
||||||
|
"setenv dtb_index 3;" \
|
||||||
"else " \
|
"else " \
|
||||||
"echo Error: Android boot is not supported for $board_name; " \
|
"echo Error: Android boot is not supported for $board_name; " \
|
||||||
"exit; " \
|
"exit; " \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue