[U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

Vasily Khoruzhick anarsoul at gmail.com
Sat Apr 21 09:35:12 CEST 2012


2012/4/21 Marek Vasut <marex at denx.de>:

>>  I agree with Vasily Khoruzhick, it looks like a hack
>
> Please, bother to read the CPU manual and also the ARM Architecture reference
> manual before you start with such a wild accusations.

Let me explain my point of view.

Doing SDRAM init very early (even in assembly code) is obvious and simple.
Just few simple writes into RAM controller registers.

But to use cache as RAM you need to program and enable MMU (again
assembly, right?). And then
one needs to program SDRAM controller (ok, this part is in C code, but
I don't see any advantage).
It's not as simple as previous solution, isn't it? And looks
overengineered to me. I prefer to keep
such low-level things simple.

Regards
Vasily


More information about the U-Boot mailing list