From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Thu, 01 Apr 2010 20:24:21 +0800 Subject: [U-Boot] [PATCH 2/5] nios2: add Altera EP2C35 board In-Reply-To: <4BB4487C.6030708@monstr.eu> References: <1269996650-20816-1-git-send-email-thomas@wytron.com.tw> <1269996650-20816-2-git-send-email-thomas@wytron.com.tw> <4BB4487C.6030708@monstr.eu> Message-ID: <4BB49075.1050605@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/01/2010 03:17 PM, Michal Simek wrote: > > I am strongly against this style of adding any specific nios board to > U-BOOT. > > 1. I am not convinced that all information from 2c35_cf.h are > important for U-BOOT. > What connection has for example "#define KERNEL_REGION_BASE 0xc0000000"? > or others. > +#define PLL_COMPONENT_TYPE altera_avalon_pll > +#define PLL_COMPONENT_NAME pll > +#define PLL_BASE 0x1000020 > +#define PLL_SPAN 32 > > It is the same situation as we solved for Xilinx boards. > Create generic nios board and then generate only parameters which are > necessary for U-BOOT itself. > For example I am using only one microblaze generic board to cover all > microblaze boards. > Look at Microblaze or ppc405/440 solution. board/xilinx is good start > for you. > > Hi Michal, Thank you very much for the suggestions. Your experiences are invaluable to us. I will trim down the fpga parameter file. I will keep only one board configuration to serve as nios2-generic template, and remove other two. Best regards, Thomas