diff --git a/board/ti/am62px/am62px.env b/board/ti/am62px/am62px.env index 0674f7e616..9ed3ef5f71 100644 --- a/board/ti/am62px/am62px.env +++ b/board/ti/am62px/am62px.env @@ -21,3 +21,7 @@ mmcdev=1 bootpart=1:2 bootdir=/boot rd_spec=- + +#if CONFIG_CMD_ABOOTIMG +#include +#endif 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 +/* include Android related settings */ +#if CONFIG_CMD_ABOOTIMG +#include +#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; " \