aboutsummaryrefslogtreecommitdiff
path: root/drivers/core
diff options
context:
space:
mode:
authorBin Meng2021-03-14 20:15:03 +0800
committerPriyanka Jain2021-04-15 14:22:17 +0530
commitea8971cdde308153f24d8374e24d1ff0a4dec433 (patch)
tree4270434366dab41a7a8dbb188c30cf864b6f1632 /drivers/core
parent80279fa1295af73beba8689450ba408130053ff1 (diff)
test: dm: Add a test case for simple-bus <ranges>
This adds a test case to verify reading <ranges> of a simple-bus is working as expected. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/core')
-rw-r--r--drivers/core/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index c7504edaf85..a7c31208604 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -238,6 +238,7 @@ config SPL_SIMPLE_BUS
config SIMPLE_BUS_CORRECT_RANGE
bool "Decode the 'simple-bus' <range> by honoring the #address-cells and #size-cells"
depends on SIMPLE_BUS
+ default y if SANDBOX
help
Decoding the 'simple-bus' <range> by honoring the #address-cells
and #size-cells of parent/child bus. If unset, #address-cells of