From: Wolfgang Denk Date: Thu, 27 Oct 2011 07:14:36 +0200 Subject: [U-Boot] [PATCH v3] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support In-Reply-To: <1319686540-999-1-git-send-email-Chang-Ming.Huang@freescale.com> References: <1319686540-999-1-git-send-email-Chang-Ming.Huang@freescale.com> Message-ID: <20111027051436.2435C12B7AF0@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Chang-Ming.Huang at freescale.com, In message <1319686540-999-1-git-send-email-Chang-Ming.Huang@freescale.com> you wrote: > From: Jerry Huang > > This patch: > 1. Support 512MB DDR. > 2. Support 33.33MHz oscillator. > 3. QE clock is changed to 500MHz as the default value. > > The new MPC8360EMDS board changes the oscillator to 33.33MHz in order to > support QE 500MHZ and this new board supports 512MB DDR since 2008, > but the u-boot only supports 256MB DDR and 66.6MHz oscillator on top tree, > > For 512MB DDR: > BAT0 is used for the first 256MB memory, BAT4 is used for the second > 256MB memory and the address space of SDRAM follows the DDR, so if the size > of DDR is 256MB, the BAT4 will be used for SDRAM and if the size of DDR > is 512MB, the BAT4 will be used for the second 256MB memory and there is no BAT > for SDRAM. > Therefore, if the size of DDR is 512MB, this patch will use BAT6 for SDRAM > and BAT5 will be used for PCI MEM to replace the BAT6 after the codes relocates > to the DDR. > > Signed-off-by: Jerry Huang > --- > arch/powerpc/lib/board.c | 19 +++++++++++++++++-- > board/freescale/mpc8360emds/mpc8360emds.c | 17 +++++++++++++++++ > include/configs/MPC8360EMDS.h | 11 ++++++----- > 3 files changed, 40 insertions(+), 7 deletions(-) You post 3 different (?) versions of this patch, but fail to proovide any information what has changed. Read http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versions and then add the mandatory history of changes. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Where shall I begin, please your Majesty?" he asked. "Begin at the beginning," the King said, gravely, "and go on till you come to the end: then stop." - Alice's Adventures in Wonderland, Lewis Carroll