On Thu, Oct 08, 2026 at 04:01:45PM +0530, Aswin Murugan wrote:

> Enable CONFIG_SKIP_EARLY_DM to skip device model initialization during
> pre-relocation phase, improving boot time by around 50% by deferring
> device probing until after relocation.
> 
> Reviewed-by: Casey Connolly <[email protected]>
> Signed-off-by: Aswin Murugan <[email protected]>
> ---
>  configs/qcom_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
> index 7d4a2b589aa..4713ced0939 100644
> --- a/configs/qcom_defconfig
> +++ b/configs/qcom_defconfig
> @@ -1,5 +1,6 @@
>  CONFIG_ARM=y
>  CONFIG_SKIP_LOWLEVEL_INIT=y
> +CONFIG_SKIP_EARLY_DM=y
>  CONFIG_POSITION_INDEPENDENT=y
>  CONFIG_SYS_INIT_SP_BSS_OFFSET=0x180000
>  CONFIG_ARCH_SNAPDRAGON=y

Given the number of platforms which also build on top of this defconfig,
is this safe to do everywhere? And since this was something introduced
for Qualcomm platforms, you should be doing "default y if ..." in the
Kconfig, or imply SKIP_EARLY_DM in arch/arm/mach-snapdragon/Kconfig
instead.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to