[U-Boot] [PATCH v3 0/2] Remove duplicate functions for power and sleep configuration

Christian Riesch christian.riesch at omicron.at
Tue Nov 8 09:50:58 CET 2011


Hi,
these patches remove the duplicate functions for the power and sleep
controller of the davinci devices. 

Since v2, these patches have only been rebased, therefore I kept
the Acked-bys by Heiko Schocher. v2 has been under review since mid of 
October so I think they could be applied now. Thank you!

Changes for v3:
- rebased to apply on top of the ti branch (without any prerequisites)
- removed patch arm, davinci: Add function lpsc_syncreset() since
  it was already merged.

Changes for v2:
- use -M option of git format-patch to detect the renaming of files
- Removed one patch of the patchset (arm, davinci: Correct the MDSTAT.STATE
  mask) since a similar patch was already submitted by Sergei Shtylyov. 
  The prerequisites list below was updated accordingly.
- Use defines for bitmasks for PSC configuration instead of magic numbers.

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 replaces the PSC related functions in
arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c by those of psc.c.

Best Regards, Christian

Cc: Heiko Schocher <hs at denx.de>
Cc: Paulraj Sandeep <s-paulraj at ti.com>
Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>

Christian Riesch (2):
  arm, davinci: Rename AM1808 lowlevel functions to DA850
  arm, davinci: Remove the duplication of LPSC functions in
    da850_lowlevel.c

 arch/arm/cpu/arm926ejs/davinci/Makefile            |    2 +-
 .../{am1808_lowlevel.c => da850_lowlevel.c}        |  202 ++++++--------------
 .../{am1808_lowlevel.h => da850_lowlevel.h}        |   26 ++--
 3 files changed, 71 insertions(+), 159 deletions(-)
 rename arch/arm/cpu/arm926ejs/davinci/{am1808_lowlevel.c => da850_lowlevel.c} (57%)
 rename arch/arm/include/asm/arch-davinci/{am1808_lowlevel.h => da850_lowlevel.h} (63%)



More information about the U-Boot mailing list