From: Tapani Date: Mon, 26 Aug 2013 19:12:00 +0800 Subject: [U-Boot] SPL boot on iMX6 In-Reply-To: <521B06E6.5030306@denx.de> References: <20130826151743.20e384d4@triceratops> <521B06E6.5030306@denx.de> Message-ID: <20130826191200.64a8bc5c@triceratops> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 26 Aug 2013 09:42:30 +0200 Stefano Babic wrote: > Hi Tapani, > > > > > 1. Padconfigs. For some reason the existing padconfiguration macros are set > > compile time depending on target cpu variant. Hence the need to add new > > macros (or smth) so the binary can configure the pads for many cpu variants. > > This would cause duplicate and redundant sets of pad configuration macros > > for the imx6. Is there any alternative to this, more than rewriting code to > > comply with cpu specific padconfigs? > > Macros wee added exactly in the time they needed, and maybe a global > look was missing. > > However, can you provide much more detail about this ? Which macros, in > which files ? > The macros I refer to is the MX6_PAD_ ones. The semantics of them depends on the target cpu. See arch/arm/include/asm/arch-mx6/mx6-pins.h > > You should dropped them, and add them again once they are tested and if > you really want to have them. > Good. Then we agree there. //Tapani