From: Becky Bruce <beckyb@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/13] Go to common initdram() on 85xx-based boards
Date: Thu, 2 Dec 2010 17:45:26 -0600 [thread overview]
Message-ID: <1291333539-11884-1-git-send-email-beckyb@kernel.crashing.org> (raw)
This patch series consists of a bunch of cleanups that allow us to use
a common initdram() on all of the non-corenet 85xx-based boards. Also,
switch to using phys_size_t to represent the size of memory returned.
Most of these patches are just code rearranges or renaming things to
get a common scheme in place. There are also lots of cleanups -
the various initdram() implementations had a variety of issues that
I have hopefully fixed.
This is a large patch series, and I've had to hack on a bunch of different
boards that I know nothing about, so I'd appreciate any review commentary.
I have tested this on 8572DS and confirmed that the results of a MAKEALL
powerpc are the same before and after this series.
Cheers,
Becky
arch/powerpc/cpu/mpc85xx/cmd_errata.c | 3 +
arch/powerpc/cpu/mpc85xx/cpu.c | 58 ++++++++++++++++++
arch/powerpc/cpu/mpc85xx/tlb.c | 6 ++-
arch/powerpc/include/asm/fsl_ddr_sdram.h | 13 ++++
arch/powerpc/include/asm/fsl_lbc.h | 7 ++
board/atum8548/atum8548.c | 25 +--------
board/freescale/mpc8536ds/mpc8536ds.c | 21 -------
board/freescale/mpc8540ads/mpc8540ads.c | 52 +----------------
board/freescale/mpc8540ads/tlb.c | 19 ------
board/freescale/mpc8541cds/mpc8541cds.c | 43 --------------
board/freescale/mpc8544ds/mpc8544ds.c | 17 ------
board/freescale/mpc8548cds/mpc8548cds.c | 38 ------------
board/freescale/mpc8555cds/mpc8555cds.c | 45 --------------
board/freescale/mpc8560ads/mpc8560ads.c | 52 +----------------
board/freescale/mpc8560ads/tlb.c | 19 ------
board/freescale/mpc8568mds/mpc8568mds.c | 38 ------------
board/freescale/mpc8569mds/mpc8569mds.c | 36 ------------
board/freescale/mpc8572ds/mpc8572ds.c | 19 ------
board/freescale/p1022ds/p1022ds.c | 13 ----
board/freescale/p1_p2_rdb/ddr.c | 15 +-----
board/freescale/p2020ds/p2020ds.c | 34 ++---------
board/mpc8540eval/mpc8540eval.c | 52 +---------------
board/pm854/law.c | 5 +-
board/pm854/pm854.c | 62 +-------------------
board/pm854/tlb.c | 18 +-----
board/pm856/law.c | 5 +-
board/pm856/pm856.c | 57 +------------------
board/pm856/tlb.c | 18 +-----
board/sbc8548/sbc8548.c | 45 +--------------
board/sbc8548/tlb.c | 34 ++++-------
board/sbc8560/sbc8560.c | 93 +-----------------------------
board/socrates/sdram.c | 15 +-----
board/stx/stxgp3/stxgp3.c | 32 ----------
board/stx/stxssa/stxssa.c | 33 -----------
board/tqc/tqm85xx/sdram.c | 70 +++++++----------------
board/tqc/tqm85xx/tlb.c | 47 ---------------
board/xes/common/Makefile | 2 -
board/xes/common/fsl_8xxx_ddr.c | 46 ---------------
board/xes/xpedite517x/xpedite517x.c | 13 ++++
doc/README.mpc85xxads | 4 +-
include/configs/MPC8536DS.h | 1 -
include/configs/MPC8540EVAL.h | 2 +-
include/configs/MPC8548CDS.h | 2 +-
include/configs/MPC8568MDS.h | 1 -
include/configs/MPC8569MDS.h | 7 --
include/configs/MPC8572DS.h | 1 -
include/configs/P1_P2_RDB.h | 1 -
include/configs/PM854.h | 8 +--
include/configs/PM856.h | 8 +--
include/configs/SBC8540.h | 5 +-
include/configs/TQM85xx.h | 6 ++-
include/configs/sbc8560.h | 5 +-
include/configs/stxgp3.h | 5 +-
include/configs/stxssa.h | 1 -
54 files changed, 185 insertions(+), 1092 deletions(-)
next reply other threads:[~2010-12-02 23:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-02 23:45 Becky Bruce [this message]
2010-12-02 23:45 ` [U-Boot] [PATCH 01/13] mpc8540eval: Split initdram() into initdram() and sdram_init() Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 02/13] tqm85xx: create fixed_sdram() to do sdram setup Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 03/13] mpc85xx/tlb.c: Allow platforms to specify wimge bits Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 04/13] socrates: rename sdram_setup fixed_sdram() Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 05/13] mpc8569mds: Remove unnecessary CONFIG_SYS_LBC_SDRAM_BASE definition Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 06/13] PM854: rename CONFIG_SYS_LBC_SDRAM_BASE CONFIG_SYS_LBC_BASE Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 07/13] PM856: Rename " Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 09/13] stxgp3: " Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 10/13] SBC8540: " Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 11/13] MPC8568/MPC8569: Remove CONFIG_DDR_DLL define Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 12/13] mpc85xx boards: initdram() cleanup/bugfix Becky Bruce
2010-12-02 23:45 ` [U-Boot] [PATCH 13/13] 85xx boards: Rename CONFIG_DDR_DLL to CONFIG_SYS_FSL_ERRATUM_DDR_MSYNC_IN Becky Bruce
2010-12-03 16:09 ` [U-Boot] [PATCH 12/13] mpc85xx boards: initdram() cleanup/bugfix Peter Tyser
2010-12-03 20:54 ` [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT Becky Bruce
2010-12-03 21:22 ` Peter Tyser
2010-12-03 2:26 ` Timur Tabi
2010-12-03 20:44 ` Becky Bruce
2010-12-03 21:48 ` Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1291333539-11884-1-git-send-email-beckyb@kernel.crashing.org \
--to=beckyb@kernel.crashing.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox