summaryrefslogtreecommitdiffstats
path: root/arch/nios2/boards
Commit message (Collapse)AuthorAgeFilesLines
* nios2: remove dead code in generic boardJean-Christophe PLAGNIOL-VILLARD2011-08-011-8/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* nios2/generic.c: Add resources for altera TSEFranck Jullien2011-07-271-9/+22
| | | | | | | | | | | This patch adds resources for the Altera TSE driver as this driver has been moved to resources usage. The serial device also uses resources declared with the helps of add_generic_device. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* resource: introduce add_cfi_device to register simple cfi deviceJean-Christophe PLAGNIOL-VILLARD2011-07-231-8/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* add a add_mem_device functionSascha Hauer2011-07-181-14/+2
| | | | | | | | | | | Add a helper function for boards to register their memory devices. This makes the board code smaller and also helps getting rid of map_base and struct memory_platform_data. And switch all of the memory to it Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* mem: replace DEVFS_RDWR by IORESOURCE_MEM_WRITEABLEJean-Christophe PLAGNIOL-VILLARD2011-07-181-1/+1
| | | | | | | we keep struct memory_platform_data for now on we will switch off the memories resources to struct resource Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Change system frequency in generic boardFranck JULLIEN2011-05-161-6/+6
| | | | | | | | | In order to match the example I'll provide on my website, set the system frequency to 100MHz in the generic board nios_sopc.h Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix typo in generic.cFranck JULLIEN2011-05-161-2/+2
| | | | | | | | The device init function has the name of one of my board (comBoard). This patch fix the name of the function to generic_device_init. Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Update generic env/configFranck JULLIEN2011-05-161-0/+5
| | | | | | | | | This adds kernel_loc, kernelimage_type and bootargs to the generic board environment. This allows the generic board to boot linux on the example I'll provide on my website. Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add platform data to the mac deviceFranck JULLIEN2011-05-021-4/+7
| | | | | | | The PHY address must be passed to the driver via platform_data. Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add a generic board template for the Nios2 archFranck JULLIEN2011-03-305-0/+560
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>