1. 30 8月, 2014 4 次提交
  2. 29 8月, 2014 2 次提交
  3. 26 8月, 2014 8 次提交
    • H
      mtd,ubi,ubifs: sync with linux v3.15 · 4e67c571
      Heiko Schocher 提交于
      snyc with linux v3.15:
      
      commit 1860e379875dfe7271c649058aeddffe5afd9d0d
      Author: Linus Torvalds <torvalds@linux-foundation.org>
      Date:   Sun Jun 8 11:19:54 2014 -0700
      
          Linux 3.15
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Tom Rini <trini@ti.com>
      4e67c571
    • H
      mtd, ubi, ubifs: update for the sync with linux v3.14 · ddf7bcfa
      Heiko Schocher 提交于
      while playing with the new mtd/ubi/ubifs sync, found some
      small updates for it:
      
      - add del_mtd_partition() to include/linux/mtd/mtd
      - mtd: add a debug_printf
      - remove some not used functions
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Tom Rini <trini@ti.com>
      ddf7bcfa
    • H
      mtd, ubi, ubifs: resync with Linux-3.14 · ff94bc40
      Heiko Schocher 提交于
      resync ubi subsystem with linux:
      
      commit 455c6fdbd219161bd09b1165f11699d6d73de11c
      Author: Linus Torvalds <torvalds@linux-foundation.org>
      Date:   Sun Mar 30 20:40:15 2014 -0700
      
          Linux 3.14
      
      A nice side effect of this, is we introduce UBI Fastmap support
      to U-Boot.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Signed-off-by: NTom Rini <trini@ti.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Sergey Lapin <slapin@ossfans.org>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Joerg Krause <jkrause@posteo.de>
      ff94bc40
    • H
      lib, linux: move linux specific defines to linux/compat.h · 0c06db59
      Heiko Schocher 提交于
      - move linux specific defines from usb and video code
        into linux/compat.h
      - move common linux specific defines from include/ubi_uboot.h
        to linux/compat.h
      - add for new mtd/ubi/ubifs sync new needed linux specific
        defines to linux/compat.h
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      [trini: Add spin_lock_irqsave/spin_unlock_irqrestore dummies from
      usb/lin_gadet_compat.h]
      Signed-off-by: NTom Rini <trini@ti.com>
      0c06db59
    • H
      linux include: add ERR_CAST · cc96c9a7
      Heiko Schocher 提交于
      add missing ERR_CAST to linux/err.h as it is needed for ubi/ubifs support
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      cc96c9a7
    • H
      lib, list_sort: add list_sort from linux 3.14 · c068d44a
      Heiko Schocher 提交于
      from linux 3.14:
      
      commit 455c6fdbd219161bd09b1165f11699d6d73de11c
      Author: Linus Torvalds <torvalds@linux-foundation.org>
      Date:   Sun Mar 30 20:40:15 2014 -0700
      
          Linux 3.14
      
      Needed for the MTD/UBI/UBIFS resync
      
      Just copied the files from Linux, and added in the c-file
      the "#define __UBOOT__" for adding U-Boot special code. In
      this case we use this just for adding including U-Boot
      headers.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Sergey Lapin <slapin@ossfans.org>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Tom Rini <trini@ti.com>
      c068d44a
    • H
      lib, rbtree: resync with Linux-3.14 · 9dd228b5
      Heiko Schocher 提交于
      resync with linux:
      
      commit 455c6fdbd219161bd09b1165f11699d6d73de11c
      Author: Linus Torvalds <torvalds@linux-foundation.org>
      Date:   Sun Mar 30 20:40:15 2014 -0700
      
          Linux 3.14
      
      Needed for the MTD/UBI/UBIFS resync
      
      Just copied the files from Linux, changed the license file header,
      and add in the c-file:
      
      +#define __UBOOT__
       #include <linux/rbtree_augmented.h>
      +#ifndef __UBOOT__
       #include <linux/export.h>
      +#else
      +#include <ubi_uboot.h>
      +#endif
      
      so, it compiles for U-Boot.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Sergey Lapin <slapin@ossfans.org>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Tom Rini <trini@ti.com>
      9dd228b5
    • M
      pcm051: use ti_am335x_common.h config · b640b460
      Matwey V. Kornilov 提交于
      Include general configs/ti_am335x_common.h and drop redundant #defines.
      Signed-off-by: NMatwey V. Kornilov <matwey.kornilov@gmail.com>
      b640b460
  4. 25 8月, 2014 11 次提交
    • L
      ARM: DRA: Enable VTT regulator · 7b922523
      Lokesh Vutla 提交于
      DRA7 evm REV G and later boards uses a vtt regulator for DDR3 termination
      and this is controlled by gpio7_11. Configuring gpio7_11.
      The pad A22(offset 0x3b4) is used by gpio7_11 on REV G and later boards,
      and left unused on previous boards, so it is safe enough to enable gpio
      on all DRA7 boards.
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      7b922523
    • D
      cm-t54: convert to generic board · bbfb286b
      Dmitry Lifshitz 提交于
      Use generic board setup functions by defining
      CONFIG_SYS_GENERIC_BOARD.
      Signed-off-by: NDmitry Lifshitz <lifshitz@compulab.co.il>
      bbfb286b
    • J
      SOM: tam3517: convert to generic board · 457baf54
      Jeroen Hofstee 提交于
      Cc: Raphael Assenat <raph@8d.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
      457baf54
    • P
      board/ti/dra7xx: add support for parallel NOR · 9352697a
      pekon gupta 提交于
      This patch adds support for parallel NOR device (S29GL512S10) present on J6-EVM.
      The Flash device is connected to GPMC controller on chip-select[0] and accessed
      as memory-mapped device. It has data-witdh=x16, capacity-64MBytes(512Mbits) and
      is CFI compatible.
      
      As multiple devices are share GPMC pins on this board, so following board
      settings are required to detect NOR device:
           SW5.1 (NAND_BOOTn) = OFF (logic-1)
           SW5.2 (NOR_BOOTn)  = ON  (logic-0) /* Active-low */
           SW5.3 (eMMC_BOOTn) = OFF (logic-1)
           SW5.4 (QSPI_BOOTn) = OFF (logic-1)
      
      And also set appropriate SYSBOOT configurations:
           SW3.1 (SYSBOOT[ 8])= ON  (logic-1) /* selects SYS_CLK1 speed */
           SW3.2 (SYSBOOT[ 9])= OFF (logic-0) /* selects SYS_CLK1 speed */
           SW3.3 (SYSBOOT[10])= ON  (logic-1) /* wait-pin monitoring = enabled */
           SW3.4 (SYSBOOT[11])= OFF (logic-0) /* device type: Non Muxed */
           SW3.5 (SYSBOOT[12])= OFF (logic-0) /* device type: Non Muxed */
           SW3.6 (SYSBOOT[13])= ON  (logic-1) /* device bus-width: 1(x16) */
           SW3.7 (SYSBOOT[14])= OFF (logic-0) /* reserved */
           SW3.8 (SYSBOOT[15])= ON  (logic-1) /* reserved */
      
      Also, following changes are required to enable NOR Flash support in
      dra7xx_evm board profile:
      9352697a
    • P
      board/ti/dra7xx: add support for parallel NAND · 54a97d28
      pekon gupta 提交于
      This patch adds support for x16 NAND device (MT29F2G16AAD) connected to GPMC
      chip-select[0] on DRA7xx EVM.
      As GPMC pins are shared by multiple devices, so in addition to this patch
      following board settings are required for NAND device detection [1]:
      
        SW5.9 (GPMC_WPN)   = OFF (logic-1)
        SW5.1 (NAND_BOOTn) = ON  (logic-0) /* Active-low */
        SW5.2 (NOR_BOOTn)  = OFF (logic-1)
        SW5.3 (eMMC_BOOTn) = OFF (logic-1)
        SW5.4 (QSPI_BOOTn) = OFF (logic-1)
      
      And also set appropriate SYSBOOT configurations
        SW2.1 (SYSBOOT[0]) = ON  (logic-1) /* selects NAND Boot */
        SW2.2 (SYSBOOT[1]) = OFF (logic-0) /* selects NAND Boot */
        SW2.3 (SYSBOOT[2]) = OFF (logic-0) /* selects NAND Boot */
        SW2.4 (SYSBOOT[3]) = OFF (logic-0) /* selects NAND Boot */
        SW2.5 (SYSBOOT[4]) = ON  (logic-1) /* selects NAND Boot */
        SW2.6 (SYSBOOT[5]) = ON  (logic-1) /* selects NAND Boot */
        SW2.7 (SYSBOOT[6]) = OFF (logic-0) /* reserved */
        SW2.8 (SYSBOOT[7]) = OFF (logic-0) /* reserved */
      
        SW3.1 (SYSBOOT[ 8])= ON  (logic-1) /* selects SYS_CLK1 speed */
        SW3.2 (SYSBOOT[ 9])= OFF (logic-0) /* selects SYS_CLK1 speed */
        SW3.3 (SYSBOOT[10])= ON  (logic-1) /* wait-pin monitoring = enabled */
        SW3.4 (SYSBOOT[11])= OFF (logic-0) /* device type: Addr/Data Muxed */
        SW3.5 (SYSBOOT[12])= ON  (logic-1) /* device type: Addr/Data Muxed */
        SW3.6 (SYSBOOT[13])= ON  (logic-1) /* device bus-width: 1(x16) */
        SW3.7 (SYSBOOT[14])= OFF (logic-0) /* reserved */
        SW3.8 (SYSBOOT[15])= ON  (logic-1) /* reserved */
      
      Following changes are required in board.cfg to enable NAND on J6-EVM:
      54a97d28
    • P
      board/ti/am43xx: add support for parallel NAND · e53ad4b4
      pekon gupta 提交于
      This patch adds support for NAND device connected to GPMC chip-select on
      following AM43xx EVM boards.
      
      am437x-gp-evm: On this board, NAND Flash signals are muxed with eMMC, thus at a
        time either eMMC or NAND can be enabled. Selection between eMMC and NAND is
        controlled by:
        (a) Statically using Jumper on connecter (J89) present on board.
        (a) If Jumper on J89 is NOT used, then selection can be dynamically controlled
            by driving SPI2_CS0[MUX_MODE=GPIO] pin via software:
            SPI2_CS0 == 0: NAND (default)
            SPI2_CS0 == 1: eMMC
      
      am43x-epos-evm: On this board, NAND Flash control lines are muxed with QSPI,
        Thus only one of the two can be used at a time. Selection is controlled by:
        (a) Dynamically driving following GPIO pin from software
            GPMC_A0(GPIO) == 0 NAND is selected (default)
      
      NAND device (MT29F4G08AB) on these boards has:
       - data-width=8bits
       - blocksize=256KB
       - pagesize=4KB
       - oobsize=224 bytes
      For above NAND device, ROM code expects the boot-loader to be flashed in BCH16
      ECC scheme for NAND boot, So by default BCH16 ECC is enabled for AM43xx EVMs.
      Signed-off-by: NPekon Gupta <pekon@ti.com>
      e53ad4b4
    • P
      board/ti/am335x: update configs for parallel NAND · fea9543f
      pekon gupta 提交于
      This patch
      - consolidate CONFIG_SYS_NAND_xx and CONFIG_SPL_NAND_xx from various
        configuration files into single file.
      - update MTD Partition table to match AM335x_EVM DT in linux-kernel
      - segregate CONFIGs based on different boot modes (like SPL and U-Boot)
      Signed-off-by: NPekon Gupta <pekon@ti.com>
      fea9543f
    • T
      am335x_evm: Enable CONFIG_SPL_ENV_SUPPORT on EMMC_BOOT · 83e359ad
      Tom Rini 提交于
      When we're using EMMC_BOOT that means we have environment on eMMC so
      we can make use of CONFIG_SPL_ENV_SUPPORT within Falcon Mode.
      Signed-off-by: NTom Rini <trini@ti.com>
      83e359ad
    • T
      tseries: Set CONFIG_ENV_IS_NOWHERE for SPL+NAND · e017fd61
      Tom Rini 提交于
      In the case of SPL on these boards we only need environment for
      SPL_USBETH, so it's safe to normally use ENV_IS_NOWHERE and SPL+NAND
      does not support environment today.
      
      Cc: Hannes Petermaier <oe5hpm@oevsv.at>
      Signed-off-by: NTom Rini <trini@ti.com>
      e017fd61
    • T
      TI:armv7: Change CONFIG_SPL_STACK to not be CONFIG_SYS_INIT_SP_ADDR · 865813ed
      Tom Rini 提交于
      There are times where we may need more than a few kilobytes of stack
      space.  We also will not be using CONFIG_SPL_STACK location prior to DDR
      being initialized (CONFIG_SYS_INIT_SP_ADDR is still used there) so pick
      a good location within DDR for this to be.  Tested on
      OMAP4/AM335x/OMAP5/DRA7xx.
      Signed-off-by: NTom Rini <trini@ti.com>
      865813ed
    • T
      am335x_evm: Move SPL network defines · 6d9e610c
      Tom Rini 提交于
      On am335x_evm we only support USBETH for a networking SPL option so move
      the rest of the defines under that area as that's the only time we need
      (and want) environment support here.
      Signed-off-by: NTom Rini <trini@ti.com>
      6d9e610c
  5. 24 8月, 2014 3 次提交
  6. 22 8月, 2014 11 次提交
  7. 21 8月, 2014 1 次提交