projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23b479b
)
cmd:spl:fix: Prevent from a build error on boards, which don't support FDT
author
Łukasz Majewski
<
[email protected]
>
Thu, 6 Dec 2012 05:23:38 +0000
(
05:23
+0000)
committer
Tom Rini
<
[email protected]
>
Tue, 11 Dec 2012 20:18:14 +0000
(13:18 -0700)
Do not compile in FDT related code, when it is not supported.
Signed-off-by: Lukasz Majewski <
[email protected]
>
Signed-off-by: Kyungmin Park <
[email protected]
>
Acked-by: Stefano Babic <
[email protected]
>
common/cmd_spl.c
patch
|
blob
|
history
diff --git
a/common/cmd_spl.c
b/common/cmd_spl.c
index 9ec054af3b359b6048df6d5f503307cec156697c..e3c543b46a54724eade6cb92f99dbc3381a5e1ed 100644
(file)
--- a/
common/cmd_spl.c
+++ b/
common/cmd_spl.c
@@
-130,10
+130,12
@@
static int spl_export(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if (call_bootm(argc, argv, subcmd_list[(int)c->cmd]))
return -1;
switch ((int)c->cmd) {
+#ifdef CONFIG_OF_LIBFDT
case SPL_EXPORT_FDT:
printf("Argument image is now in RAM: 0x%p\n",
(void *)images.ft_addr);
break;
+#endif
case SPL_EXPORT_ATAGS:
printf("Argument image is now in RAM at: 0x%p\n",
(void *)gd->bd->bi_boot_params);