From: Simon Glass Date: Tue, 26 Sep 2023 14:14:30 +0000 (-0600) Subject: dm: core: Correct help in TPL_DM and VPL_DM X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7907a7b99a582f511f93071896c6f8e9163f81d1;p=u-boot.git dm: core: Correct help in TPL_DM and VPL_DM There are copying errors in the help. Fix these. Signed-off-by: Simon Glass --- diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 4c5a00f6f9..fe5c41d57e 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -27,12 +27,12 @@ config TPL_DM help Enable driver model in TPL. You will need to provide a suitable malloc() implementation. If you are not using the - full malloc() enabled by CFG_SPL_SYS_MALLOC_START, + full malloc() enabled by CFG_TPL_SYS_MALLOC_START, consider using CONFIG_TPL_SYS_MALLOC_SIMPLE. In that case you - must provide CONFIG_SPL_SYS_MALLOC_F_LEN to set the size. + must provide CONFIG_TPL_SYS_MALLOC_F_LEN to set the size. In most cases driver model will only allocate a few uclasses - and devices in SPL, so 1KB should be enough. See - CONFIG_SPL_SYS_MALLOC_F_LEN for more details on how to enable it. + and devices in TPL, so 1KB should be enough. See + CONFIG_TPL_SYS_MALLOC_F_LEN for more details on how to enable it. Disable this for very small implementations. config VPL_DM @@ -42,8 +42,8 @@ config VPL_DM help Enable driver model in VPL. You will need to provide a suitable malloc() implementation. If you are not using the - full malloc() enabled by CFG_SPL_SYS_MALLOC_START, - consider using CONFIG_SPL_SYS_MALLOC_SIMPLE. + full malloc() enabled by CFG_TPL_SYS_MALLOC_START, + consider using CONFIG_TPL_SYS_MALLOC_SIMPLE. config DM_WARN bool "Enable warnings in driver model"