Skip to content

Fixes for edb9315

Alessandro Rubini u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3EP93xx: fix syscon_regs definitioninclude/asm-arm/arch-ep93xx/ep93xx.h+2 -11 reply
2/3edb93xx: change calculation un early_udelay.hboard/edb93xx/early_udelay.h+1 -11 reply
3/3edb93xx: enable the uart in devicecfg registerboard/edb93xx/edb93xx.c+6 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMatthias Kaehlcke
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/3] Fixes for edb9315

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(-)