summaryrefslogtreecommitdiff
path: root/lib_nios2/board.c
AgeCommit message (Collapse)Author
2010-04-13Move lib_$ARCH directories to arch/$ARCH/libPeter Tyser
Also move lib_$ARCH/config.mk to arch/$ARCH/config.mk This change is intended to clean up the top-level directory structure and more closely mimic Linux's directory organization. Signed-off-by: Peter Tyser <[email protected]>
2010-04-02nios2: Add missing Ethernet initialization to board_init().Scott McNutt
Signed-off-by: Scott McNutt <[email protected]>
2009-11-23Nios2: Fix compiler warnings in lib_nios2/board.c (unused variables)Scott McNutt
Signed-off-by: Scott McNutt <[email protected]>
2009-10-30sh: Remove malloc_bin_reloc from lib_sh, lib_nios2 and lib_nios.Nobuhiro Iwamatsu
By "arm/microblaze/nios/nios2/sh: Remove relocation fixups" (commit: 0630535e2d062dd73c1ceca5c6125c86d1127a49", doesn't need malloc_bin_reloc function. This commit remove this. Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2009-09-04Consolidate arch-specific mem_malloc_init() implementationsPeter Tyser
Signed-off-by: Peter Tyser <[email protected]>
2009-09-04Standardize mem_malloc_init() implementationPeter Tyser
This lays the groundwork to allow architectures to share a common mem_malloc_init(). Note that the x86 implementation was not modified as it did not fit the mold of all other architectures. Signed-off-by: Peter Tyser <[email protected]>
2009-09-04Consolidate arch-specific sbrk() implementationsPeter Tyser
Signed-off-by: Peter Tyser <[email protected]>
2009-07-18stdio/device: rework function naming conventionJean-Christophe PLAGNIOL-VILLARD
So far the console API uses the following naming convention: ======Extract====== typedef struct device_t; int device_register (device_t * dev); int devices_init (void); int device_deregister(char *devname); struct list_head* device_get_list(void); device_t* device_get_by_name(char* name); device_t* device_clone(device_t *dev); ======= which is too generic and confusing. Instead of using device_XX and device_t we change this into stdio_XX and stdio_dev This will also allow to add later a generic device mechanism in order to have support for multiple devices and driver instances. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Edited commit message. Signed-off-by: Wolfgang Denk <[email protected]>
2009-06-12lib_arch/board.c: Move malloc initialization before flash_init()Stefan Roese
This patch moves the malloc initialization before calling flash_init(). Upcoming changes to the NOR FLASH common CFI driver with optional MTD infrastructure and MTD concatenation support will call malloc(). And nothing really speaks against enabling malloc just a little earlier in the boot stage. Some architectures already enable malloc before calling flash_init() so they don't need any changes here. Signed-off-by: Stefan Roese <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Mike Frysinger <[email protected]> Cc: Scott McNutt <[email protected]> Cc: Shinya Kuribayashi <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Daniel Hellstrom <[email protected]> Cc: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Cc: John Rigby <[email protected]>
2009-03-20lib_*/board.c: do not initialize bi_enet*addr in global dataMike Frysinger
Since everyone is using the environment for mac address storage, there is no point in seeding the global data. The arches that are converted here: i386 m68k microblaze mips nios nios2 sh sparc Signed-off-by: Mike Frysinger <[email protected]> CC: Ben Warren <[email protected]> CC: Daniel Hellstrom <[email protected]> CC: Michal Simek <[email protected]> CC: Shinya Kuribayashi <[email protected]> CC: Scott McNutt <[email protected]> CC: Nobuhiro Iwamatsu <[email protected]>
2008-10-18rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
2006-06-08Nios II - Add EPCS Controller bootrom work-aroundScott McNutt
-When booting from an epcs controller, the epcs bootrom may leave the slave select in an asserted state causing soft reset hang. This patch ensures slave select is negated at reset. Patch by Scott McNutt, 08 Jun 2006
2006-03-31GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk
2004-10-10Patches by Scott McNutt, 24 Aug 2004:wdenk
- Add support for Altera Nios-II processors. - Add support for Psyent PCI-5441 board. - Add support for Psyent PK1C20 board.