From mboxrd@z Thu Jan 1 00:00:00 1970 From: hanumant Date: Mon, 31 Oct 2011 16:57:57 -0700 Subject: [U-Boot] Porting U-boot Message-ID: <4EAF3605.9060503@codeaurora.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I am trying to port u-boot to multiple soc/boards from an arm vendor. I would appreciate any input on the following approach 1)The controller instance on various SOC are the same with minor differences in the fifo size, gpios, clocks. 2)In order to help the porting effort, my idea is to add soc/board neutral driver header files under the include/asm/ directory. Possibly creating a vendor directory under there ie arch/arm/include/asm/($vendor)/ (Different from the soc specific header files arch-$SOC) 3)Implement driver in respective driver category drivers/<$category> 4)Allow the SOC specific files to define the resources for specific peripherals based on the header files from 2) Thanks