Skip to content
Snippets Groups Projects
Commit 90d13b8a authored by Fredrik Arnerup's avatar Fredrik Arnerup Committed by Wolfgang Denk
Browse files

85xx: bugfix for reading maximum TLB size on mpc85xx


The MAXSIZE field in the TLB1CFG register is 4 bits, not 8 bits.
This made setup_ddr_tlbs() try to set up a TLB larger than the e500 maximum
(256 MB)
which made u-boot hang in board_init_f() when trying to create a new stack
in RAM.
I have an mpc8540 with one 1GB dimm.

Signed-off-by: default avatarFredrik Arnerup <fredrik.arnerup@edgeware.tv>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 1b5291dd
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment