[U-Boot] [PATCH v3 01/13] test: regmap: Increase size of syscon0 memory

Mario Six mario.six at gdsys.cc
Tue Jul 31 10:00:58 UTC 2018


The upcoming changes to the regmap interface will contain a proper check
for plausibility when reading/writing from/to a register map. To still
have the current tests pass, increase the size of the memory region for
the syscon0 device, since one of the tests reads and writes beyond this
range.

Signed-off-by: Mario Six <mario.six at gdsys.cc>
---

v2 -> v3:
New in v3

---
 arch/sandbox/dts/test.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index e941cea3e5c..47cc961890f 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -406,7 +406,7 @@

 	syscon at 0 {
 		compatible = "sandbox,syscon0";
-		reg = <0x10 4>;
+		reg = <0x10 16>;
 	};

 	syscon at 1 {
--
2.11.0



More information about the U-Boot mailing list