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:
dd09f7e
)
common/board_r: Restore non-cached memory setup
author
Jan Kiszka
<
[email protected]
>
Mon, 9 Mar 2015 06:47:18 +0000
(07:47 +0100)
committer
Tom Rini
<
[email protected]
>
Mon, 9 Mar 2015 15:13:29 +0000
(11:13 -0400)
This fixes a regression of
e310b93ec1
, affecting Ethernet on the Jetson
TK1, e.g.
Signed-off-by: Jan Kiszka <
[email protected]
>
common/board_r.c
patch
|
blob
|
history
diff --git
a/common/board_r.c
b/common/board_r.c
index 38be09b8c11163214f45348a5127ab174fcb6271..0335f6bde6ce78f002d34b3ef05b2c14b91b86d7 100644
(file)
--- a/
common/board_r.c
+++ b/
common/board_r.c
@@
-271,6
+271,14
@@
static int initr_malloc(void)
return 0;
}
+#ifdef CONFIG_SYS_NONCACHED_MEMORY
+static int initr_noncached(void)
+{
+ noncached_init();
+ return 0;
+}
+#endif
+
#ifdef CONFIG_DM
static int initr_dm(void)
{
@@
-698,6
+706,9
@@
init_fnc_t init_sequence_r[] = {
#endif
initr_barrier,
initr_malloc,
+#ifdef CONFIG_SYS_NONCACHED_MEMORY
+ initr_noncached,
+#endif
bootstage_relocate,
#ifdef CONFIG_DM
initr_dm,