projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43913f0
)
test/dm: fdtdec: Add the missing gd declaration
author
Bin Meng
<bin.meng@windriver.com>
Tue, 23 Jun 2020 05:55:47 +0000
(22:55 -0700)
committer
Simon Glass
<sjg@chromium.org>
Fri, 10 Jul 2020 00:57:22 +0000
(18:57 -0600)
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>
test/dm/fdtdec.c
patch
|
blob
|
history
diff --git
a/test/dm/fdtdec.c
b/test/dm/fdtdec.c
index
b2f75b5
..
c2f7b94
100644
(file)
--- 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;