common/board_r: Restore non-cached memory setup
PATCH 1/1 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 <[email protected]>
--- common/board_r.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
common/board_r.c +11 -0
@@ -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,
Signature · 1 line
2.1.4
PATCH 1/1 common/board_r: Restore non-cached memory setup
[resent with updated address of Tom]
Quoted 38 lines · Jan Kiszka
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 | 11 +++++++++++ 1 file changed, 11 insertions(+)common/board_r.c +11
-0@@ -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,
Quoted 4 lines · Jan Kiszka
This fixes a regression of
e310b93ec1, affecting Ethernet on the Jetson TK1, e.g.Signed-off-by Jan Kiszka <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150309/e731b6db/attachment.sig>