projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sandbox: implement ft_board_setup()
[platform/kernel/u-boot.git]
/
board
/
sandbox
/
sandbox.c
diff --git
a/board/sandbox/sandbox.c
b/board/sandbox/sandbox.c
index
0c3d245
..
1372003
100644
(file)
--- a/
board/sandbox/sandbox.c
+++ b/
board/sandbox/sandbox.c
@@
-58,6
+58,12
@@
int board_init(void)
return 0;
}
+int ft_board_setup(void *fdt, bd_t *bd)
+{
+ /* Create an arbitrary reservation to allow testing OF_BOARD_SETUP.*/
+ return fdt_add_mem_rsv(fdt, 0x00d02000, 0x4000);
+}
+
#ifdef CONFIG_BOARD_LATE_INIT
int board_late_init(void)
{