From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Mon, 07 Apr 2014 19:05:36 +0200 Subject: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice? In-Reply-To: <20140305172806.GY16805@bill-the-cat> References: <20140305172806.GY16805@bill-the-cat> Message-ID: <20140407170536.A685C380958@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 Tom, In message <20140305172806.GY16805@bill-the-cat> you wrote: > > I'm looking over some patches for am43xx to enable the case of non-SPL > XIP booting and this means we start getting code that's shared with > am335x that looks like: What exactly do you mean by "non-SPL XIP booting"? Is this not the standard boot mode which has actually been the first (and only one) that U-Boot has ever been designed for, like booting from a ROM (like parallel NOR flash)? Because the we do exactly that: we execute the code as is from the boot device... > Because we need to do certain init either in SPL or early U-Boot. While > I don't see another XIP boot case being added anytime soon, it would be > nice to instead write: What you call "XIP boot" is the default for all systems booting from NOR flash (or other boot ROM) - or am I missing something? 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 Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. - Karl Lehenbauer