Skip to content

Remove duplicate functions for power and sleep configuration

Heiko Schocher u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] Remove duplicate functions for power and sleep configuration

Hello Christian,

Quoted 21 lines · Heiko Schocher

Hello Christian,

Quoted 18 lines · Christian Riesch

Hi,
these patches apply on top of Heiko Schocher's patches for the enbw_cmc board. They remove the duplicate functions for the power and sleep controller of the davinci devices.

The first patch renames the low level configuration functions since they can not only be used for the AM1808 but for the entire da850 family.

The second patch corrects the mask for the state bitfield of the MDSTAT registers. Similar patches have been already submitted for the Linux kernel and other parts of u-boot, see e.g. http://patchwork.ozlabs.org/patch/114942/

Patch number three adds a function to set an LPSC module to Sync Reset state as this is required for DDR memory controller initialization.

The forth patch finally replaces the PSC related functions in arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c by those of psc.c.

Quoted 8 lines
Quoted 4 lines

I tested the DDR initialization functions on my board and they worked fine, but of course I can only compile-test them for Heiko's board.

I am looking forward to your comments!

just tried your patches, but after applying it, my console on UART2 is not longer working properly on the enbw_cmc board, it seems, Tx only works ... investigating this behaviour ...

Found it, your code is Ok. If you sent an update version of this patchset, with the issues fixed, I test them on my hardware, thanks!

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany