From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 11 Jan 2013 12:10:04 +0100 Subject: [U-Boot] [RFC PATCH 07/22] arm: Refactor bootm to reduce #ifdefs In-Reply-To: <1357829905-6579-8-git-send-email-sjg@chromium.org> References: <1357829905-6579-1-git-send-email-sjg@chromium.org> <1357829905-6579-8-git-send-email-sjg@chromium.org> Message-ID: <201301111210.04366.marex@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, > With fewer #ifdefs the code is more readable and more of the code is > compiled for all boards. Add defines in the header file to control > what features are enabled, and then use if() instead of #ifdef. > > Signed-off-by: Simon Glass Did you try building it with ELDK 4.2 and check if there's no size growth? Best regards, Marek Vasut