From: Wolfgang Denk Date: Mon, 21 May 2012 23:55:10 +0200 Subject: [U-Boot] [PATCH 0/2] Add support for MINI2440 (s3c2440) In-Reply-To: <20120521203733.GC9379@debian> References: <1335734845-27396-1-git-send-email-contact@huau-gabriel.fr> <20120521203733.GC9379@debian> Message-ID: <20120521215510.453C920004B@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 Gabriel Huau, In message <20120521203733.GC9379@debian> you wrote: > Is it ok ? Can we apply theses patches ? What do you mean - unfixed? > On Sun, Apr 29, 2012 at 11:27:23PM +0200, Gabriel Huau wrote: > > From the last time, I removed the patch about the PLL initialization because > > it's board specific. I added a new patch for s3c440 gpio driver. Now in the > > board file we have no more magic bloat. > > > > >> +/* > > >> + * When booting from NAND, it is impossible to access the lowest addresses > > >> + * due to the SteppingStone being in the way. Luckily the NOR doesn't really > > >> + * care about the highest 16 bits of address, so we set the controlers > > >> + * registers to go and poke over there, instead. > > >> + */ > > >> +#define PHYS_FLASH_1 0x0 > > >> +#define CONFIG_SYS_FLASH_BASE 0x0 > > > > > >Urghh... this sounds very much like a serious design issue? > > > > About this point, I ported it from the old version uboot as well. It may need > > some investigation, but I remember it was a big problem with this board. In the > > case of a NAND boot, we don't have access to NOR because the SteppingStone > > (SRAM) is mapped at the same range. The comment and/or definitions are apparently broken, so they should be fixed / removed. 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 I will not say that women have no character; rather, they have a new one every day. -- Heine