All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] Fixes for edb9315
@ 2010-02-06 19:53 Alessandro Rubini
  2010-02-06 19:53 ` [U-Boot] [PATCH 1/3] EP93xx: fix syscon_regs definition Alessandro Rubini
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Alessandro Rubini @ 2010-02-06 19:53 UTC (permalink / raw)
  To: u-boot

I'm porting current u-boot to a board similar to EP9315A, so I'm using
arm/master as a basis, as it includes the patches by Matthias
Kaehlcke.  I'm currently running from RAM (SKIP_LOWLEVEL_INIT), after
setting up sdram and pll elsewhere (older vendor u-boot code, still to
be ported).

"fix syscon_regs definition" is needed to access any software-locked
syscon register from C code (e.g., in reset_cpu() and devicecfg used
by me in patch 3).

"change calculation un early_udelay.h" is needed at least for eldk-4.2
(gcc-4.2.2), as without this patch it will use the stack before setting SP.
Actually, we could use the ether buffer as a stack, if needed, but it's not
really needed here.

"enable the uart in devicecfg register" prevents u-boot from freezing
at least with SKIP_LOWLEVEL_INIT set, but I'm pretty sure lowlevel_setup
assembly code doesn't enable the uart, either.

Alessandro Rubini (3):
  EP93xx: fix syscon_regs definition
  edb93xx: change calculation un early_udelay.h
  edb93xx: enable the uart in devicecfg register

 board/edb93xx/early_udelay.h         |    2 +-
 board/edb93xx/edb93xx.c              |    6 ++++++
 include/asm-arm/arch-ep93xx/ep93xx.h |    3 ++-
 3 files changed, 9 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-07 23:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-06 19:53 [U-Boot] [PATCH 0/3] Fixes for edb9315 Alessandro Rubini
2010-02-06 19:53 ` [U-Boot] [PATCH 1/3] EP93xx: fix syscon_regs definition Alessandro Rubini
2010-02-06 22:17   ` Matthias Kaehlcke
2010-02-06 19:53 ` [U-Boot] [PATCH 2/3] edb93xx: change calculation un early_udelay.h Alessandro Rubini
2010-02-06 22:17   ` Matthias Kaehlcke
2010-02-06 19:54 ` [U-Boot] [PATCH 3/3] edb93xx: enable the uart in devicecfg register Alessandro Rubini
2010-02-06 22:24   ` Matthias Kaehlcke
2010-02-07 23:08     ` Tom
2010-02-06 22:15 ` [U-Boot] [PATCH 0/3] Fixes for edb9315 Matthias Kaehlcke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.