1. 24 9月, 2010 1 次提交
  2. 23 9月, 2010 11 次提交
  3. 22 9月, 2010 5 次提交
  4. 21 9月, 2010 16 次提交
  5. 20 9月, 2010 7 次提交
    • S
      cfi_flash: Remove uneccessary #ifdef CONFIG_SYS_MAX_FLASH_BANKS_DETECT · 3c29975e
      Stefan Roese 提交于
      Now that the defines are moved to header files we don't need this
      conditional compilation any more. Remove it.
      Signed-off-by: NStefan Roese <sr@denx.de>
      3c29975e
    • S
      cfi_flash: Simplify dynamic flash bank number detection · ca5def3f
      Stefan Roese 提交于
      This patch simplifies the use of CONFIG_SYS_MAX_FLASH_BANKS_DETECT. By
      moving these optional variables and defines into the common code, board
      specific code is minimized. Currently only the following board use
      this feature:
      
      APC405, IDS8247, TQM834x
      
      And IDS8247 doesn't seem to really need this feature, since its not
      updating the bank number variable at all. So this patch removes the
      definition of CONFIG_SYS_MAX_FLASH_BANKS_DETECT from this board port.
      
      This new framework will be used by the upcoming lwmon5 update as well.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Acked-by: NHeiko Schocher <hs@denx.de>
      Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
      ca5def3f
    • S
      cfi_flash: Add weak default for cfi_flash_bank_addr() · b00e19cc
      Stefan Roese 提交于
      cfi_flash_bank_addr(int bank_nr) returns the base addresses of the
      requested bank. Introducing this weak default enables boards to override
      this functions with a board specific version when required.
      
      This feature will be used in the lwmon5 board update, supporting runtime
      detection of 2 board revisions with different flash layouts.
      Signed-off-by: NStefan Roese <sr@denx.de>
      b00e19cc
    • S
      cfi_flash: Simplify flash_get_info() · cba34aaf
      Stefan Roese 提交于
      This patch removes an unecessary check in the return statement. This is
      not needed, since "info" is initializes to NULL. And "info" will not be
      written to again, if the flash address is not found.
      
      Additionally "info" is not initialized to "0" but to "NULL".
      Signed-off-by: NStefan Roese <sr@denx.de>
      cba34aaf
    • W
      Remove spieval board support · 69434e4c
      Wolfgang Denk 提交于
      Recent changes caused that the spieval board now is included in the
      boards built by MAKEALL, which revealed that compilation for this
      board has been broken for a long time:
      
      mpc5xxx_fec.c:899:2: error: #error fec->xcv_type not initialized.
      mpc5xxx_fec.c:899:2: error: #error fec->xcv_type not initialized.
      
      The board is orphaned.  Drop support for it.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      69434e4c
    • W
      Remove smmaco4 board support · 9ddc3af8
      Wolfgang Denk 提交于
      Recent changes caused that the smmaco4 board now is included in the
      boards built by MAKEALL, which revealed that compilation for this
      board has been broken for a long time:
      
      mpc5xxx_fec.c:899:2: error: #error fec->xcv_type not initialized.
      
      The board is orphaned.  Drop support for it.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      9ddc3af8
    • W
      Remove HMI10 board support · 77efe35f
      Wolfgang Denk 提交于
      Recent changes caused that the HMI10 board now is included in the
      boards built by MAKEALL, which revealed that compilation for this
      board has been broken for a long time:
      
      ps2ser.c: In function 'ps2ser_init':
      ps2ser.c:155: error: 'UART_LCR' undeclared (first use in this function)
      ps2ser.c:155: error: (Each undeclared identifier is reported only once
      ps2ser.c:155: error: for each function it appears in.)
      ps2ser.c:156: error: 'UART_DLL' undeclared (first use in this function)
      ps2ser.c:157: error: 'UART_DLM' undeclared (first use in this function)
      ps2ser.c:159: error: 'UART_IER' undeclared (first use in this function)
      ps2ser.c:160: error: 'UART_MCR' undeclared (first use in this function)
      ps2ser.c:161: error: 'UART_FCR' undeclared (first use in this function)
      ps2ser.c:162: error: 'UART_FCR_ENABLE_FIFO' undeclared (first use in this function)
      ps2ser.c:166: error: 'UART_LSR' undeclared (first use in this function)
      ps2ser.c: In function 'ps2ser_putc':
      ps2ser.c:198: error: 'UART_LSR' undeclared (first use in this function)
      ps2ser.c:200: error: 'UART_TX' undeclared (first use in this function)
      ps2ser.c: In function 'ps2ser_getc_hw':
      ps2ser.c:224: error: 'UART_LSR' undeclared (first use in this function)
      ps2ser.c:225: error: 'UART_RX' undeclared (first use in this function)
      ps2ser.c: In function 'ps2ser_interrupt':
      ps2ser.c:293: error: 'UART_IIR' undeclared (first use in this function)
      
      The board is orphaned, and AFAICT has reached EOL.
      Drop support for it.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      77efe35f