common/board_r: Restore non-cached memory setup

This fixes a regression of e310b93ec1, affecting Ethernet on the Jetson
TK1, e.g.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
master
Jan Kiszka 9 years ago committed by Tom Rini
parent dd09f7e73c
commit 671fa63e79
  1. 11
      common/board_r.c

@ -271,6 +271,14 @@ static int initr_malloc(void)
return 0; return 0;
} }
#ifdef CONFIG_SYS_NONCACHED_MEMORY
static int initr_noncached(void)
{
noncached_init();
return 0;
}
#endif
#ifdef CONFIG_DM #ifdef CONFIG_DM
static int initr_dm(void) static int initr_dm(void)
{ {
@ -698,6 +706,9 @@ init_fnc_t init_sequence_r[] = {
#endif #endif
initr_barrier, initr_barrier,
initr_malloc, initr_malloc,
#ifdef CONFIG_SYS_NONCACHED_MEMORY
initr_noncached,
#endif
bootstage_relocate, bootstage_relocate,
#ifdef CONFIG_DM #ifdef CONFIG_DM
initr_dm, initr_dm,

Loading…
Cancel
Save