28 May, 2010

6 commits

  • This patch fixes the run-time error on div64 when built with
    gcc4, which was reported by jhwu0625 on nios forum. It merges
    math support from libgcc of gcc4. This patch is copied from
    nios2-linux.

    It works with both gcc3 and gcc4. The old mult.c, divmod.c and
    math.h are removed.

    Signed-off-by: Thomas Chou
    Signed-off-by: Scott McNutt

    Thomas Chou
     
  • The "-ffixed-r15" option doesn't work well for gcc4. Since we
    don't use gp for small data with option "-G0", we can use gp
    as global data pointer. This allows compiler to use r15. It
    is necessary for gcc4 to work properly.

    Signed-off-by: Thomas Chou
    Signed-off-by: Scott McNutt

    Thomas Chou
     
  • This patch adds the driver of altera spi controller, which is
    used as epcs/spi flash controller. It also works with mmc_spi
    driver.

    This driver support more than one spi bus, with base list declared
    #define CONFIG_SYS_ALTERA_SPI_LIST { BASE_0,BASE_1,... }

    Signed-off-by: Thomas Chou
    Tested-by: Ian Abbott
    Signed-off-by: Scott McNutt

    Thomas Chou
     
  • This patch adds gpio support of Altera PIO component to the
    nios2-generic board. Though it drives only gpio_led at the
    moment, it supports bidirectional port to control bit-banging
    I2C, NAND flash busy status or button switches, etc.

    Signed-off-by: Thomas Chou
    Tested-by: Ian Abbott
    Signed-off-by: Scott McNutt

    Thomas Chou
     
  • This patch adds a status led driver followed the GPIO access
    conventions of Linux. The led mask is used to specify the gpio pin.

    Signed-off-by: Thomas Chou
    Tested-by: Ian Abbott
    Signed-off-by: Scott McNutt

    Thomas Chou
     
  • This patch adds driver for a trivial gpio core, which is described
    in http://nioswiki.com/GPIO. It is used for gpio led and nand flash
    interface in u-boot.

    When CONFIG_SYS_GPIO_BASE is not defined, board may provide
    its own driver.

    Signed-off-by: Thomas Chou
    Tested-by: Ian Abbott
    Signed-off-by: Scott McNutt

    Thomas Chou
     

27 May, 2010

7 commits


22 May, 2010

8 commits


19 May, 2010

3 commits


18 May, 2010

9 commits


17 May, 2010

1 commit


16 May, 2010

4 commits


12 May, 2010

2 commits

  • SPD has minor change from Rev 1.2 to 1.3. This patch enables Rev 1.3.
    The difference has ben examined and the code is compatible.
    Speed bins is not verified on hardware for CL7 at this moment.

    This patch also enables SPD Rev 1.x where x is up to "F". According to SPD
    spec, the lower nibble is optionally used to determine which additinal bytes
    or attribute bits have been defined. Software can safely use defaults. However,
    the upper nibble should always be checked.

    Signed-off-by: York Sun
    Signed-off-by: Kumar Gala

    York Sun
     
  • On the MPC85xx platform if we have SATA its connected on SERDES.
    Determing if SATA is enabled via sata_initialize should not be board
    specific and thus we move it out of the MPC8536DS board code.

    Additionally, now that we have is_serdes_configured() we can determine
    if the given SATA port is enabled and error out if its not in the
    driver.

    Signed-off-by: Kumar Gala

    Kumar Gala