From: Wolfgang Denk Date: Mon, 26 Nov 2012 07:53:02 +0100 Subject: [U-Boot] [PATCH v4 2/9] x86: Allow excluding reset vector code from u-boot In-Reply-To: <1353910336-7193-3-git-send-email-sjg@chromium.org> References: <1353910336-7193-3-git-send-email-sjg@chromium.org> Message-ID: <20121126065302.B1706201056@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 Simon Glass, In message <1353910336-7193-3-git-send-email-sjg@chromium.org> you wrote: > From: Gabe Black > > When running from coreboot we don't want this code. > > This version works by ifdef-ing out all of the code that would go > into those sections and all the code that refers to it. The sections are > then empty, and the linker will either leave them empty for the loader > to ignore or remove them entirely. Hm.... as is, this requires that we define CONFIG_SYS_X86_RESET_VECTOR in all x86 board config files, just because a single board configuration does not need this? This makes no sense. Please invert the logic. 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 "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim" - Edsgar W. Dijkstra