dm: core: Correct reference to DM_SPL in SPL_DM_STATS
PATCH v3 1/2 dm: core: Correct reference to DM_SPL in SPL_DM_STATS
This does not existing anymore. Update SPL_DM_STATS to use the correct Kconfig option, which is SPL_DM
---
Changes in v3:
- Split the patch into two
Changes in v2:
- Add new patch to correct references to DM_SPL
drivers/core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/core/Kconfig +1 -1
@@ -88,7 +88,7 @@ config DM_STATS config SPL_DM_STATS bool "Collect and show driver model stats in SPL" - depends on DM_SPL + depends on SPL_DM help Enable this to collect and display memory statistics about driver model. This can help to figure out where all the memory is going and
Signature · 1 line
2.42.0.869.gea05f2083d-goog
PATCH v3 2/2 blk: Drop reference to DM_SPL
The intent here is to only allow SPL_LEGACY_BLK if !SPL_DM - i.e. that when driver model is enabled in SPL, legacy block cannot be used.
However this combination is used by about 240 boards, so we cannot disallow it, at least not yet.
So just drop the condition.
---
(no changes since v1)
drivers/block/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/Kconfig +1 -1
@@ -13,7 +13,7 @@ config BLK config SPL_LEGACY_BLOCK bool # "Enable Legacy Block Device" - depends on SPL && !DM_SPL + depends on SPL default y if SPL_MMC || SPL_USB_STORAGE || SCSI || NVME || IDE default y if SPL_AHCI_PCI help
Signature · 1 line
2.42.0.869.gea05f2083d-goog
Re: [PATCH v3 2/2] blk: Drop reference to DM_SPL
Quoted 9 lines · Simon Glass
The intent here is to only allow
SPL_LEGACY_BLKif !SPL_DM - i.e. that when driver model is enabled in SPL, legacy block cannot be used.However this combination is used by about 240 boards, so we cannot disallow it, at least not yet.
So just drop the condition.
Signed-off-by Simon Glass <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom
Quoted 4 lines · Simon Glass
This does not existing anymore. Update
SPL_DM_STATSto use the correctKconfigoption, which isSPL_DMSigned-off-by Simon Glass <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom