[U-Boot] arm, arm335x: save_omap_boot_params question
Tom Rini
trini at ti.com
Wed Jun 12 14:28:25 CEST 2013
On Wed, Jun 12, 2013 at 10:56:01AM +0200, Heiko Schocher wrote:
> Hello tom,
>
> your
>
> commit 4596dcc1d4ea5763e0f92cf5becd9fc7d4c6e674
> Author: Tom Rini <trini at ti.com>
> Date: Fri May 31 12:31:59 2013 -0400
>
> am33xx/omap: Move save_omap_boot_params to omap-common/boot-common.c
>
> introduced, that all am335x based boards must call
> save_omap_boot_params() from the board specific s_init function. I
> just stumbled over it, as I updated to current head and my upcoming
> am335x based siemens boards didn't boot anymore ... should we think
> about to move this s_init() to a common place, and extract board
> specific things? Maybe arch/arm/cpu/armv7/omap-common/boot-common.c
> is a place for it?
I think the first non-am335x_evm board pulled the code we need in board/
a bit too far in the board-specific direction.
Whacking the WDT (which could be done differently I imagine based on
your other patches), calling save_omap_boot_params and UART stuff is
common. Figuring out which DDR and how is not. I think we can learn
from omap-common/hwinit-common.c::s_init but need to have our own in
arch/arm/cpu/armv7/am33xx/board.c and declared __weak or wrapped with
CONFIG_AM33XX since TI814x (and TI816x) are different. Or maybe some
more thinking share still.
Do you have time for this? Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130612/596deea5/attachment.pgp>
More information about the U-Boot
mailing list