From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Dubov Date: Mon, 10 Jan 2011 18:44:02 -0800 (PST) Subject: [U-Boot] [PATCH v3] mpq101: initial support for Mercury Computer Systems MPQ101 board In-Reply-To: <20110110225622.7C383150A4A@gemini.denx.de> Message-ID: <546160.74882.qm@web37605.mail.mud.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > And you still have a board/mercury/mpq101/config.mk even > though I > asked you to get rid of it. > 1. I want to fit an environment and the bootloader into a single flash sector. 2. Environment must be on the sector boundary, otherwise saveenv won't rewrite it. 3. If I don't fix up the ppcenv starting address, the resulting u-boot image will shrink by the environment size and won't start on sector boundary itself. 4. Other boards use handcrafted ld scripts to fit environments at right boundaries. That's why I need the LDFLAGS in question. If not in config.mk, where am I supposed to put them? Custom ld script is definitely an overshoot in this and other similar cases.