>> >> However I can't judge whether all that code is right for e600 and >> whether you may want to share some code with e500 / e5500 in some way? >> CC'ing some Freescale folks. > > > e600 is a very different core from e500/e5500. It is a 74xx derivative. > The only thing I can see that could be shared with e500 is the code to > register SPRG4-7, but that's something that's already duplicated between a > bunch of cores. >
Yes, and as previously said, this is almost entirely a copy/paste from the 7440 code, plus SPRGs 4..7, the high BATs and the POWERPC_MMU_32B setting. It can be shared in a later patch. -- Julio Guerra