Skip to content
Snippets Groups Projects
  1. Dec 05, 2008
  2. Aug 12, 2008
  3. Apr 13, 2008
    • eran liberty's avatar
      Altera Stratix II support · 3c735e74
      eran liberty authored
      
      Adds Support for Altera's Stratix II.
      
      Within your board specific init file you will have to call
      
      1. fpga_init (/* relocated code offset. usually => */ gd->reloc_off);
      2. fpga_add (fpga_altera, (Altera_desc*)&altera_desc);
      
      Altera_desc* contines (for example):
      	{
      	 Altera_StratixII,	/* part type */
      	 passive_serial,	/* interface type */
      	 1,			/* bytes of data part can accept */
      	 (void *)(&funcs),	/* interface function table */
      	 0L,			/* base interface address */
      	 0			/* implementation specific cookie */
      	 }
      
      funcs is the interface. It is of type altera_board_specific_func.
      It looks like this:
      altera_board_specific_func func = {
      	pre_fn,
      	config_fn,
      	status_fn,
      	done_fn,
      	clk_fn,
      	data_fn,
      	abort_fn,
      	post_fn,
      };
      
      you will have to implement these functions, which is usually bit
      banging some gpio.
      
      Signed-off-by: default avatarEran Liberty <liberty@extricom.com>
      3c735e74
  4. Jan 09, 2008
  5. Oct 13, 2005
  6. Jun 27, 2003
    • Wolfgang Denk's avatar
      * Code cleanup: · 8bde7f77
      Wolfgang Denk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
      8bde7f77
  7. Nov 02, 2002
Loading