All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/3] test/dm: fdtdec: Add the missing gd declaration
@ 2020-06-23  5:55 Bin Meng
  2020-06-23  5:55 ` [PATCH v4 2/3] test/dm: fdtdec: Corect a typo in dm_test_fdtdec_set_carveout() Bin Meng
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bin Meng @ 2020-06-23  5:55 UTC (permalink / raw)
  To: u-boot

From: Bin Meng <bin.meng@windriver.com>

Add DECLARE_GLOBAL_DATA_PTR since it is referenced in the test codes.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

Changes in v4:
- drop the first 2 patches that are already applied
- rebase against u-boot/next branch

 test/dm/fdtdec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/dm/fdtdec.c b/test/dm/fdtdec.c
index b2f75b5..c2f7b94 100644
--- a/test/dm/fdtdec.c
+++ b/test/dm/fdtdec.c
@@ -9,6 +9,8 @@
 #include <dm/test.h>
 #include <test/ut.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 static int dm_test_fdtdec_set_carveout(struct unit_test_state *uts)
 {
 	struct fdt_memory resv;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-06  1:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23  5:55 [PATCH v4 1/3] test/dm: fdtdec: Add the missing gd declaration Bin Meng
2020-06-23  5:55 ` [PATCH v4 2/3] test/dm: fdtdec: Corect a typo in dm_test_fdtdec_set_carveout() Bin Meng
2020-06-23  5:55 ` [PATCH v4 3/3] test/dm: fdtdec: Add tests for fdtdec_add_reserved_memory() Bin Meng
2020-07-06  1:31 ` Simon Glass
2020-07-06  1:31 ` [PATCH v4 1/3] test/dm: fdtdec: Add the missing gd declaration Simon Glass
2020-07-06  1:31 ` [PATCH v4 2/3] test/dm: fdtdec: Corect a typo in dm_test_fdtdec_set_carveout() Simon Glass

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.