Fix crash on sequoia in ppc_4xx_eth_init
PATCH 1/1 Fix crash on sequoia in ppc_4xx_eth_init
Currently U-Boot crashes in ppc_4xx_eth_init on sequoia with cache enabled (TLB Parity exeption). This patch fixes the problem.
Signed-off-by Anatolij Gustschin <[email protected]>
--- cpu/ppc4xx/4xx_enet.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
cpu/ppc4xx/4xx_enet.c +4 -0
@@ -1083,7 +1083,11 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis)#ifdef CONFIG_4xx_DCACHEflush_dcache_range (bd_cached, bd_cached +MAL_ALLOC_SIZE ); if (!last_used_ea) +#if defined(CFG_MEM_TOP_HIDE ) + bd_uncached = bis->bi_memsize +CFG_MEM_TOP_HIDE ; +#else bd_uncached = bis->bi_memsize; +#endif else bd_uncached = last_used_ea +MAL_ALLOC_SIZE ;
Signature · 1 line
1.5.3.3
Wolfgang Denk
AppliedPATCH 1/1 Fix crash on sequoia in ppc_4xx_eth_init
Quoted 8 lines · In message <[email protected]> you wrote:
Currently U-Boot crashes in
ppc_4xx_eth_initon sequoia with cache enabled (TLB Parity exeption). This patch fixes the problem.Signed-off-by Anatolij Gustschin <[email protected]>--- cpu/ppc4xx/4xx_enet.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 7 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The further the spiritual evolution of mankind advances, the more certain it seems to me that the path to genuine religiosity does not lie through the fear of life, and the fear of death, and blind faith, but through striving after rational knowledge. - Albert Einstein