19 Sep, 2012

2 commits

  • The SPI pins are routed to header J8 for testing SPI functionality. A
    Spansion flash has been wired up and tested on this header.

    This patch breaks support for the second TSEC interface, since the GPIO
    pin used as a chip select is pinmuxed with some of the TSEC pins.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Kim Phillips

    Ira W. Snyder
     
  • The MPC8308RDB Reference Manual states that no bits in the SPMODE
    register are allowed to change while the enable (EN) bit is set.

    This driver changes the character length bits (LEN) while the enable
    (EN) bit is set. Clearing the EN bit while changing the LEN bits makes
    the driver work correctly on MPC8308RDB.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Kim Phillips

    Ira W. Snyder
     

18 Sep, 2012

2 commits


17 Sep, 2012

2 commits


15 Sep, 2012

1 commit

  • In case the "fdt addr" command wasn't ran yet and any other "fdt"
    subcommand was issued, the system crashed due to NULL pointer being
    used.

    This is caused by "fdt addr" command setting up a pointer to the
    FDT memory location. Prior issuing "fdt addr", the pointer is NULL
    so calling any other subcommands crashed the u-boot.

    Signed-off-by: Marek Vasut
    Cc: Simon Glass

    Marek Vasut
     

14 Sep, 2012

2 commits


13 Sep, 2012

4 commits


11 Sep, 2012

11 commits


10 Sep, 2012

1 commit

  • Using ZLIB compression with UBIFS fails if last data node is not a size of
    UBIFS_BLOCK_SIZE (4096 bytes).

    Easiest way to test this is trying to read a file smaller than 4k:
    => ubifsload 41000000 /etc/fstab
    Loading file '/etc/fstab' to addr 0x41000000 with size 704 (0x000002c0)...
    UBIFS error (pid 0): read_block: bad data node (block 0, inode 2506)
    UBIFS error (pid 0): do_readpage: cannot read page 0 of inode 2506, error -22
    Error reading file '/etc/fstab'
    /etc/fstab not found!
    exit not allowed from main input shell.
    =>

    With this patch:

    => ubifsload 41000000 /etc/fstab
    Loading file '/etc/fstab' to addr 0x41000000 with size 704 (0x000002c0)...
    Done
    =>

    Signed-off-by: Veli-Pekka Peltola
    Cc: kmpark@infradead.org
    Tested-by: Andreas Bießmann
    Signed-off-by: Stefan Roese

    Veli-Pekka Peltola
     

07 Sep, 2012

1 commit

  • There were a couple of drivers that were actually using the flags
    field of the cmd structure, despite the fact that no one ever
    *set* that field. When we removed the field, those drivers failed
    to compile. Replaced the references with the correct usage of
    resp_type.

    Signed-off-by: Andy Fleming

    Andy Fleming
     

06 Sep, 2012

14 commits