From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Date: Mon, 09 Mar 2015 07:51:09 +0100 Subject: [U-Boot] [PATCH] common/board_r: Restore non-cached memory setup In-Reply-To: <54FD41F6.5060208@siemens.com> References: <54FD41F6.5060208@siemens.com> Message-ID: <54FD42DD.1000201@siemens.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de [resent with updated address of Tom] On 2015-03-09 07:47, Jan Kiszka wrote: > This fixes a regression of e310b93ec1, affecting Ethernet on the Jetson > TK1, e.g. > > Signed-off-by: Jan Kiszka > --- > common/board_r.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/common/board_r.c b/common/board_r.c > index 38be09b..0335f6b 100644 > --- 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, >