Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
4e253137
Commit
4e253137
authored
Jan 11, 2006
by
Kumar Gala
Browse files
Allow board code to fixup the flat device tree before booting a
kernel Patch by Kumar Gala 11 Jan 2006
parent
e4f880ed
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
4e253137
...
...
@@ -2,6 +2,10 @@
Changes since U-Boot 1.1.4:
======================================================================
* Allow board code to fixup the flat device tree before booting a
kernel
Patch by Kumar Gala 11 Jan 2006
* Added CONFIG_ options for bd_t and env in flat dev tree
CONFIG_OF_HAS_BD_T will put a copy of the bd_t
...
...
README
View file @
4e253137
...
...
@@ -423,6 +423,11 @@ The following options need to be configured:
The resulting flat device tree will have a copy of u-boot's
environment variables
CONFIG_OF_BOARD_SETUP
Board code has addition modification that it wants to make
to the flat device tree before handing it off to the kernel
- Serial Ports:
CFG_PL010_SERIAL
...
...
common/ft_build.c
View file @
4e253137
...
...
@@ -698,9 +698,12 @@ void ft_setup(void *blob, int size, bd_t * bd)
if
(
p
!=
NULL
)
*
p
=
cpu_to_be32
(
clock
);
#endif
#endif
/* __powerpc__ */
#ifdef CONFIG_OF_BOARD_SETUP
ft_board_setup
(
blob
,
bd
);
#endif
/*
printf("final OF-tree\n");
ft_dump_blob(blob);
...
...
include/ft_build.h
View file @
4e253137
...
...
@@ -63,4 +63,6 @@ void ft_dump_blob(const void *bphp);
void
ft_merge_blob
(
struct
ft_cxt
*
cxt
,
void
*
blob
);
void
*
ft_get_prop
(
void
*
bphp
,
const
char
*
propname
,
int
*
szp
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
);
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment