1. 27 2月, 2010 5 次提交
  2. 11 1月, 2009 4 次提交
    • M
      MIPS: Alchemy: update core interrupt code. · 785e3268
      Manuel Lauss 提交于
      This patch attempts to modernize core Alchemy interrupt handling code.
      
      - add irq_chips for irq controllers instead of irq type,
      - add a set_type() hook to change irq trigger type during runtime,
      - add a set_wake() hook to control GPIO0..7 based wakeup,
      - use linux' IRQF_TRIGGER_ constants instead of homebrew ones,
      - enable GENERIC_HARDIRQS_NO__DO_IRQ.
      - simplify plat_irq_dispatch
      - merge au1xxx_irqmap into irq.c file, the only place where its
        contents are referenced.
      - board_init_irq() is now mandatory for every board; use it to register
        the remaining (gpio-based) interrupt sources; update all boards
        accordingly.
      
      Run-tested on Db1200 and other Au1200 based platforms.
      Signed-off-by: NManuel Lauss <mano@roarinelk.homelinux.net>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      
       delete mode 100644 arch/mips/alchemy/common/au1xxx_irqmap.c
      785e3268
    • M
      MIPS: Alchemy: move commandline mangling out of common code · 7179380e
      Manuel Lauss 提交于
      Not every alchemy-based board might want these options forced on it,
      and most of this stuff seems to be intended for devboard code anyway.
      Remove commandline mangling code out of common chip code and instead
      add relevant sections to all in-tree boards to not change existing
      behaviour.
      Signed-off-by: NManuel Lauss <mano@roarinelk.homelinux.net>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      7179380e
    • M
      MIPS: Alchemy: devboards: consolidate files · 23ba25d5
      Manuel Lauss 提交于
      Share some code and merge small files:
      - Extract the prom init code from all devboard files (they only differ in
        memory configuration).
      - Merge the irq configuration into board setup code.
      - Merge smaller files into board setup code.
      Signed-off-by: NManuel Lauss <mano@roarinelk.homelinux.net>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      
       delete mode 100644 arch/mips/alchemy/devboards/db1x00/init.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1000/init.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1000/irqmap.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1100/init.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1100/irqmap.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1200/init.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1500/init.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1500/irqmap.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1550/init.c
       delete mode 100644 arch/mips/alchemy/devboards/pb1550/irqmap.c
       create mode 100644 arch/mips/alchemy/devboards/prom.c
      23ba25d5
    • M
      MIPS: Alchemy: Move development board code to common subdirectory · 58e75e86
      Manuel Lauss 提交于
      This should ease sharing of common devboard code.
      Signed-off-by: NManuel Lauss <mano@roarinelk.homelinux.net>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      58e75e86
  3. 11 10月, 2008 1 次提交
  4. 12 5月, 2008 1 次提交
    • S
      [MIPS] Pb1200/DBAu1200 code style cleanup · c3d1d5c8
      Sergei Shtylyov 提交于
      Fix several errors and warnings given by checkpatch.pl:
      
      - use of C99 // comments;
      
      - initialization of a 'static' variable to 0;
      
      - space after opening and before closing parentheses;
      
      - missing space between 'for' and opening parenthesis;
      
      - macros with complex values not enclosed in parentheses;
      
      - printk() without KERN_* facility level;
      
      - unnecessary braces for single-statement block;
      
      - using simple_strtol() where strict_strtol() could be used;
      
      - line over 80 characters.
      
      In addition to these changes, also do the following:
      
      - mention DBAu1200 board in the Makefile;
      
      - replace the group of #include/#ifdef directives by a single
        #include <au1xxx.h> since this header contains the needed stuff;
      
      - properly indent the blocks;
      
      - insert spaces between operator and its operands, remove excess spaces
        there;
      
      - remove needless parentheses and add some for clarity;
      
      - replace numeric literals/expressions with the matching macros;
      
      - remove space after the type cast's closing parenthesis;
      
      - reduce pb1200_setup_cascade() to the single 'return' statement;
      
      - reduce the number of printed empty lines in the so-called CPLD
        workaround;
      
      - remove #undef AU1X00_EXTERNAL_INT since that macro is not defined
        anywhere;
      
      - replace spaces after the macro name with tabs in the #define directives;
      
      - remove excess tabs after the macro name in the #define directives;
      
      - fix typo in the BCSR_RESETS_PWMR1mUX macro's name;
      
      - group all Pb1200 PCMCIA definitions together;
      
      - put the function's result type and name/parameters on the same line;
      
      - insert missing and remove excess new lines;
      
      - make the multi-line comment style consistent with the kernel style
        elsewhere by adding empty first line and/or adding space/asterisk on
        their left side;
      
      - fix typos/errors, capitalize acronyms, etc. in the comments;
      
      - combine some comments;
      
      - update MontaVista copyright;
      
      - remove Pete Popov's old email address...
      Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      c3d1d5c8
  5. 29 4月, 2008 1 次提交
  6. 03 11月, 2007 1 次提交
  7. 16 10月, 2007 1 次提交
  8. 12 10月, 2007 1 次提交
  9. 14 7月, 2007 1 次提交
  10. 30 11月, 2006 1 次提交
  11. 01 7月, 2006 1 次提交
  12. 30 10月, 2005 3 次提交
新手
引导
客服 返回
顶部