From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 01/13] test: regmap: Increase size of syscon0 memory
Date: Mon, 6 Aug 2018 22:56:44 +0200 [thread overview]
Message-ID: <20180806225644.6073cc3a@crub> (raw)
In-Reply-To: <20180803080118.27748-1-mario.six@gdsys.cc>
Hi Mario,
On Fri, 3 Aug 2018 10:01:06 +0200
Mario Six mario.six at gdsys.cc wrote:
...
> 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>;
> };
Shouldn't this patch also update the test?
diff --git a/test/dm/regmap.c b/test/dm/regmap.c
index 152b3a4b80..a8d7e6829e 100644
--- a/test/dm/regmap.c
+++ b/test/dm/regmap.c
@@ -25,7 +25,7 @@ static int dm_test_regmap_base(struct unit_test_state *uts)
ut_assertok_ptr(map);
ut_asserteq(1, map->range_count);
ut_asserteq(0x10, map->ranges[0].start);
- ut_asserteq(4, map->ranges[0].size);
+ ut_asserteq(16, map->ranges[0].size);
ut_asserteq(0x10, map_to_sysmem(regmap_get_range(map, 0)));
ut_assertok(uclass_get_device(UCLASS_SYSCON, 1, &dev));
Otherwise I get test errors:
https://travis-ci.org/vdsao/u-boot-video/jobs/412722215
--
Anatolij
next prev parent reply other threads:[~2018-08-06 20:56 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-03 8:01 [U-Boot] [PATCH v4 01/13] test: regmap: Increase size of syscon0 memory Mario Six
2018-08-03 8:01 ` [U-Boot] [PATCH v4 02/13] regmap: Fix documentation Mario Six
2018-08-06 13:01 ` Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 03/13] regmap: Add documentation Mario Six
2018-08-06 13:02 ` Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 04/13] regmap: Improve error handling Mario Six
2018-08-06 13:09 ` Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 05/13] regmap: Introduce init_range Mario Six
2018-08-06 13:10 ` Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 06/13] regmap: Add error output Mario Six
2018-08-06 13:10 ` Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 07/13] regmap: Add raw read/write functions Mario Six
2018-08-06 13:11 ` Anatolij Gustschin
2018-08-06 19:11 ` Anatolij Gustschin
2018-08-07 7:36 ` Mario Six
2018-08-07 7:45 ` Anatolij Gustschin
2018-08-07 14:31 ` Daniel Schwierzeck
2018-08-08 6:19 ` Mario Six
2018-08-03 8:01 ` [U-Boot] [PATCH v4 08/13] regmap: Support reading from specific range Mario Six
2018-08-06 13:16 ` Anatolij Gustschin
2018-08-06 13:16 ` Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 09/13] regmap: Define regmap_{get,set} Mario Six
2018-08-03 8:01 ` [U-Boot] [PATCH v4 10/13] test: regmap: Add test for regmap_{set, get} Mario Six
2018-08-06 13:26 ` Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 11/13] misc: Sort Makefile entries Mario Six
2018-08-06 14:18 ` [U-Boot] [PATCH v5 " Anatolij Gustschin
2018-08-06 14:42 ` Anatolij Gustschin
2018-08-06 14:20 ` [U-Boot] [PATCH v4 " Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 12/13] misc: Add gdsys_soc driver Mario Six
2018-08-06 16:13 ` Anatolij Gustschin
2018-08-03 8:01 ` [U-Boot] [PATCH v4 13/13] misc: Add IHS FPGA driver Mario Six
2018-08-06 16:16 ` Anatolij Gustschin
2018-08-06 13:01 ` [U-Boot] [PATCH v4 01/13] test: regmap: Increase size of syscon0 memory Anatolij Gustschin
2018-08-06 20:56 ` Anatolij Gustschin [this message]
2018-08-07 7:37 ` Mario Six
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180806225644.6073cc3a@crub \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.