From: Peter Korsgaard Date: Thu, 16 May 2013 20:55:02 +0200 Subject: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR. In-Reply-To: <20130516144905.GI32163@bill-the-cat> (Tom Rini's message of "Thu, 16 May 2013 10:49:05 -0400") References: <1368469719-22406-1-git-send-email-trini@ti.com> <1368469719-22406-7-git-send-email-trini@ti.com> <87y5bfm1pp.fsf@dell.be.48ers.dk> <20130516144905.GI32163@bill-the-cat> Message-ID: <87ppwqn4ah.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >>>>> "Tom" == Tom Rini writes: Hi, Tom> +#ifdef CONFIG_TI81XX >> >> Why are you adding the TI81XX dependency here? That doesn't have >> anything to do with nor boot, does it? Tom> dmm is TI81XX-only (for this file, it's also omap4+) and since main Tom> U-Boot doesn't use --ffunction-sections/--fdata-sections/--gc-sections Tom> we end up with a link error about not having enable_dmm_clocks(). This Tom> is OK on SPL since we do use --gc-sections and the link error is avoided Tom> as we discard config_dmm on am33xx builds. Ok, that's interesting info which imho belongs in the commit message. -- Bye, Peter Korsgaard