[U-Boot-Users] lastest 1.1.3 CONFIG_SKIP problems with arm920t on rm9200 :

Anders Larsen alarsen at rea.de
Tue Sep 20 11:36:58 CEST 2005


Mathieu Deschamps <mathieu.deschamps at com2gether.net> schreibt:
>===========
>--- cpu/arm920t/start.S.orig        2005-09-19 16:35:45.000000000 +0200
>+++ cpu/arm920t/start.S     2005-09-20 09:09:33.000000000 +0200
>@@ -156,9 +156,7 @@
>         * we do sys-critical inits only at reboot,
>         * not when booting from ram!
>         */
>-#ifndef CONFIG_SKIP_LOWLEVEL_INIT
>        bl      cpu_init_crit
>-#endif

Calling cpu_init_crit when CONFIG_SKIP_LOWLEVEL_INIT is defined
doesn't look right and is sure to break e.g. the at91rm9200dk.
>
>@@ -262,9 +260,11 @@
>         * find a lowlevel_init.S in your board directory.
>         */
>        mov     ip, lr
>+
>+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
>        bl      lowlevel_init
>+#endif

A slightly different version (making lowlevel_init do noting
when CONFIG_SKIP_LOWLEVEL_INIT is defined) is included in my
"[PATCH 1/5] CSB637 - add KB920x support" submitted on the
2005-08-25 (pending in Wolfgang's queue).

Cheers
 Anders





More information about the U-Boot mailing list