[U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

Scott Wood scottwood at freescale.com
Tue Jan 18 18:27:49 CET 2011


On Tue, 18 Jan 2011 01:18:34 +0100
Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:

> How do you think a solution for all boards would look like?
> The only other method is can think of is some MMU trickery and
> I don't even see how you can make that work on all boards and

You don't need to make the MMU trick work on all boards, just your board
(or cpu family), because it wouldn't be imposing anything on
the rest of the system.  Do we actually have someone who
needs this feature on a board without a suitable MMU, large lockable
cache or other SRAM, hardware bank switching, or other mechanism
that can be confined to early low-level board/cpu-specific code?

> you would probably be locked to specific address ranges if
> you use BATs as defined on PowerPC

You'd have alignment constraints, but it's good enough for bank
switching.

-Scott



More information about the U-Boot mailing list