public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] Remove duplicate functions for power and sleep configuration
@ 2011-10-12 11:31 Christian Riesch
  2011-10-12 11:31 ` [U-Boot] [PATCH 1/4] arm, davinci: Rename AM1808 lowlevel functions to DA850 Christian Riesch
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Christian Riesch @ 2011-10-12 11:31 UTC (permalink / raw)
  To: u-boot

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.

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!

Prerequisites:

[U-Boot] arm, post, memory: fix bug if sdram base != 0x00000000
http://patchwork.ozlabs.org/patch/118208/

[U-Boot] : davinci: Replace CONFIG_PRELOADER with CONFIG_SPL_BUILD in board/davinci/common/misc.c
http://patchwork.ozlabs.org/patch/114482/

[U-Boot] arm, fdt: update ethernet mac address before booting Linux
http://patchwork.ozlabs.org/patch/114736/

[U-Boot] arm, logbuffer: make it compileclean
http://patchwork.ozlabs.org/patch/114740/

[U-Boot] cosmetic, post: Codingstyle cleanup
http://patchwork.ozlabs.org/patch/114742/

[U-Boot] arm, post: add missing post_time_ms for arm
http://patchwork.ozlabs.org/patch/114743/

[U-Boot,v2,1/3] arm, davinci: fix typo in arch/arm/cpu/arm926ejs/davinci/Makefile
http://patchwork.ozlabs.org/patch/118310/

[U-Boot,v2,2/3] arm, davinci: add DAVINCI_MMC_CLKID
http://patchwork.ozlabs.org/patch/118309/

[U-Boot,v2,3/3] arm, davinci: add support for am1808 based enbw_cmc board
http://patchwork.ozlabs.org/patch/118311/

Regards, Christian

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

Christian Riesch (4):
  arm, davinci: Rename AM1808 lowlevel functions to DA850
  arm, davinci: Correct the MDSTAT.STATE mask
  arm, davinci: Add function lpsc_syncreset()
  arm, davinci: Remove the duplication of LPSC functions in
    da850_lowlevel.c

 arch/arm/cpu/arm926ejs/davinci/Makefile            |    2 +-
 arch/arm/cpu/arm926ejs/davinci/am1808_lowlevel.c   |  428 --------------------
 arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c    |  340 ++++++++++++++++
 arch/arm/cpu/arm926ejs/davinci/psc.c               |   20 +-
 .../arm/include/asm/arch-davinci/am1808_lowlevel.h |   44 --
 arch/arm/include/asm/arch-davinci/da850_lowlevel.h |   44 ++
 arch/arm/include/asm/arch-davinci/hardware.h       |    1 +
 board/enbw/enbw_cmc/enbw_cmc.c                     |    2 +-
 include/configs/enbw_cmc.h                         |   92 +++---
 9 files changed, 448 insertions(+), 525 deletions(-)
 delete mode 100644 arch/arm/cpu/arm926ejs/davinci/am1808_lowlevel.c
 create mode 100644 arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c
 delete mode 100644 arch/arm/include/asm/arch-davinci/am1808_lowlevel.h
 create mode 100644 arch/arm/include/asm/arch-davinci/da850_lowlevel.h

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

end of thread, other threads:[~2011-10-16 17:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 11:31 [U-Boot] [PATCH 0/4] Remove duplicate functions for power and sleep configuration Christian Riesch
2011-10-12 11:31 ` [U-Boot] [PATCH 1/4] arm, davinci: Rename AM1808 lowlevel functions to DA850 Christian Riesch
2011-10-13  5:23   ` Heiko Schocher
2011-10-13  5:37     ` Christian Riesch
2011-10-12 11:31 ` [U-Boot] [PATCH 2/4] arm, davinci: Correct the MDSTAT.STATE mask Christian Riesch
2011-10-15 20:34   ` Sergei Shtylyov
2011-10-16 17:36     ` Christian Riesch
2011-10-12 11:31 ` [U-Boot] [PATCH 3/4] arm, davinci: Add function lpsc_syncreset() Christian Riesch
2011-10-13  5:42   ` Heiko Schocher
2011-10-13  6:14     ` Christian Riesch
2011-10-12 11:31 ` [U-Boot] [PATCH 4/4] arm, davinci: Remove the duplication of LPSC functions in da850_lowlevel.c Christian Riesch
2011-10-12 11:47 ` [U-Boot] [PATCH 0/4] Remove duplicate functions for power and sleep configuration Christian Riesch
2011-10-13  5:23 ` Heiko Schocher
2011-10-13  6:28   ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox