Add a defconfig for running on sm8650 as the first stage bootloader and associated debug config fragment.
Signed-off-by: Casey Connolly <[email protected]> --- board/qualcomm/debug-sm8650.config | 5 +++++ configs/qcom_sm8650_defconfig | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/board/qualcomm/debug-sm8650.config b/board/qualcomm/debug-sm8650.config new file mode 100644 index 000000000000..8323bf25e9c1 --- /dev/null +++ b/board/qualcomm/debug-sm8650.config @@ -0,0 +1,5 @@ +CONFIG_DEBUG_UART=y +CONFIG_DEBUG_UART_ANNOUNCE=y +CONFIG_DEBUG_UART_BASE=0x89c000 +CONFIG_DEBUG_UART_MSM_GENI=y +CONFIG_DEBUG_UART_CLOCK=14745600 diff --git a/configs/qcom_sm8650_defconfig b/configs/qcom_sm8650_defconfig new file mode 100644 index 000000000000..e0a82c460337 --- /dev/null +++ b/configs/qcom_sm8650_defconfig @@ -0,0 +1,16 @@ +# Configuration for building U-Boot to be flashed +# to the uefi partition of QCM6490 dev boards with +# the "Linux Embedded" partition layout (which have +# a dedicated "uefi" partition for edk2/U-Boot) + +#include "qcom_defconfig" + +# Otherwise buildman thinks this isn't an ARM platform +CONFIG_ARM=y + +# Address where U-Boot will be loaded +CONFIG_TEXT_BASE=0xa7000000 +CONFIG_REMAKE_ELF=y + +CONFIG_DEFAULT_DEVICE_TREE="qcom/sm8650-hdk" + -- 2.53.0

