1. 20 Jan, 2016 3 commits
    • Vignesh R's avatar
      spi: ti_qspi: Use 4-byte opcode for mmap read · 74d49bfd
      Vignesh R authored
      ti-qspi driver currently uses 3-byte addressing mode(and opcodes) for
      memory-mapped read. This restricts maximum addressable flash size to
      16MB.
      Enable the 4-byte addressing(and use 4-byte opcode) for memory-mapped
      read to allow access to addresses above 16MB.
      Signed-off-by: default avatarRavi Babu <ravibabu@ti.com>
      [vigneshr@ti.com: Re-word commit description]
      Signed-off-by: default avatarVignesh R <vigneshr@ti.com>
      74d49bfd
    • Erik Tideman's avatar
      mmc: emmc and hw partitions partition table id bugfix. · 99e7fc8a
      Erik Tideman authored
      On bootup the emmc's hw partition is always set to 0 and the partition
      table is read from it. When switching to another hw partition the
      partition table's id is not updated but instead the old one from
      hw partition 0 is used. If there is no partition table on hw partition 0
      then the code will terminate and return error even if the desired hw
      partition contains a perfectly fine partition table. This fix updates
      the partition table struct to correspond to the specified hw partition
      before testing if the partition table is valid or not.
      Signed-off-by: default avatarErik Tideman <erik.tideman@faltcom.se>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      [trini: Squash the patch that corrected whitespace in the original into
      this one, wrap with HAVE_BLOCK_DEVICE test]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      99e7fc8a
    • Heiko Schocher's avatar
      arm, ubifs: fix gcc5.x compiler warning · 1d48ca69
      Heiko Schocher authored
      compiling U-Boot for openrd_base_defconfig with
      gcc 5.x shows the following warning:
      
        CC      fs/ubifs/super.o
      In file included from fs/ubifs/ubifs.h:35:0,
                       from fs/ubifs/super.c:37:
      fs/ubifs/super.c: In function 'atomic_inc':
      ./arch/arm/include/asm/atomic.h:55:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized]
        local_irq_save(flags);
        ^
      fs/ubifs/super.c: In function 'atomic_dec':
      ./arch/arm/include/asm/atomic.h:64:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized]
        local_irq_save(flags);
        ^
        CC      fs/ubifs/sb.o
      [...]
        CC      fs/ubifs/lpt.o
      In file included from include/linux/bitops.h:123:0,
                       from include/common.h:20,
                       from include/ubi_uboot.h:17,
                       from fs/ubifs/ubifs.h:37,
                       from fs/ubifs/lpt.c:35:
      fs/ubifs/lpt.c: In function 'test_and_set_bit':
      ./arch/arm/include/asm/bitops.h:57:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized]
        local_irq_save(flags);
        ^
        CC      fs/ubifs/lpt_commit.o
      In file included from include/linux/bitops.h:123:0,
                       from include/common.h:20,
                       from include/ubi_uboot.h:17,
                       from fs/ubifs/ubifs.h:37,
                       from fs/ubifs/lpt_commit.c:26:
      fs/ubifs/lpt_commit.c: In function 'test_and_set_bit':
      ./arch/arm/include/asm/bitops.h:57:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized]
        local_irq_save(flags);
        ^
        CC      fs/ubifs/scan.o
        CC      fs/ubifs/lprops.o
        CC      fs/ubifs/tnc.o
      In file included from include/linux/bitops.h:123:0,
                       from include/common.h:20,
                       from include/ubi_uboot.h:17,
                       from fs/ubifs/ubifs.h:37,
                       from fs/ubifs/tnc.c:30:
      fs/ubifs/tnc.c: In function 'test_and_set_bit':
      ./arch/arm/include/asm/bitops.h:57:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized]
        local_irq_save(flags);
        ^
        CC      fs/ubifs/tnc_misc.o
      
      Fix it.
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      1d48ca69
  2. 19 Jan, 2016 29 commits
  3. 17 Jan, 2016 1 commit
  4. 16 Jan, 2016 7 commits