[U-Boot] [PATCH] arm_cortexa8: support cache flush to other soc

Wolfgang Denk wd at denx.de
Fri Sep 4 13:48:39 CEST 2009


Dear Kyungmin Park,

In message <9c9fda240909040411w468baddv9cdd59fafeab2ffd at mail.gmail.com> you wrote:
>
> > Do you use the very same U-Boot image on both SoCs?
> 
> Yes. One U-Boot image support 2 different CPU and 7 different boards.
> We don't want to make a u-boot for each board.

Ah, this explains a lot. Thanks for this explanation.

Um... do you have any plans how to handle this in a clean way that
will scale for additional SoCs and boards as well, and that
eventually can be used for other architectures, too?

I guess you will have to address the same issues in your Linux ports?

Do you consider using the device tree to implement the capability to
adjust the software configuration to the specifics of the current
hardware?  I think this would be really beneficial both for U-Boot and
Linux.


I have to admit that I'm pretty much stuck between a rock and a hard
place. I highly appreciate the fact that Samsung starts contributing
code to Linux and now also U-Boot mainline trees,. and as such I want
to encourage you all as much as possible, and not put any road blocks
in your way when it can be avoided.

I already hesitated when I rejected all these base address plus offset
things and demanded these to be changed to C structs. I am well aware
that is causes a lot of effort on your side without any immediately
visible benefit (your code is already running, so why change it?). 

On the other hand, I have to keep an eye at the overall code quality,
and to make sure the coderemains maintenable.



More information about the U-Boot mailing list