Skip to content
Snippets Groups Projects
  1. Sep 11, 2015
    • Simon Glass's avatar
      arm: Remove d2net_v2 defconfig file · 1363740e
      Simon Glass authored
      
      This file appears to be an orphan with no board files. Drop it.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      1363740e
    • Simon Glass's avatar
      arm: Remove unmaintained davinci boards · 6761946f
      Simon Glass authored
      
      These boards have not been converted to generic board by the deadline.
      Remove dm355evm, dm355leopard, dm365evm, dm6467evm, dvevm, ea20, schmoogie,
      sffsdr, sonata.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      6761946f
    • Simon Glass's avatar
      arm: Remove snowball and u8500_href boards · 7495e41b
      Simon Glass authored
      
      These boards have not been converted to generic board by the deadline.
      Remove them.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      7495e41b
    • Simon Glass's avatar
      arm: Remove eukrea boards · af7f884b
      Simon Glass authored
      
      These boards have not been converted to generic board by the deadline.
      Remove all cpu9260 and cpuat91 boards.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      af7f884b
    • Simon Glass's avatar
      arm: Remove balloon3 board · 679d4456
      Simon Glass authored
      
      This board has not been converted to generic board by the deadline.
      Remove it.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      679d4456
    • Lokesh Vutla's avatar
      ti_armv7_common: env: Use partuuid for detecting mmc root fs · 437bc42e
      Lokesh Vutla authored
      
      Linux kernel can enumerate mmc sd as either mmcblk0 or mmcblk1.
      But u-boot default environment assumes that sd always populates
      as mmcblk0. With this the root fs is not being mounted when
      mmc sd is enumerated as mmcblk1.
      So use partuuid to update root= option in default environment.
      
      Reported-by: default avatarYan Liu <yan-liu@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      437bc42e
    • Lokesh Vutla's avatar
      ti_armv7_common: env: Consolidate MMC args · 85d17be3
      Lokesh Vutla authored
      
      Define default mmc args in ti_armv7_common.h so that all
      TI platforms can reuse.
      
      Reported-by: default avatarYan Liu <yan-liu@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      85d17be3
    • Lokesh Vutla's avatar
      ti_omap4_common: use ext4 fs as default. · 8ebaaed2
      Lokesh Vutla authored
      
      All TI SoCs expect filesystem to be ext4, omap4_common is the only one
      with ext3. move omap4 to ext4 so that we can start consolidating MMC
      arguments.
      
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      8ebaaed2
    • Lokesh Vutla's avatar
      ARM: DRA7: emif: Fix disabling/enabling of refreshes · d6927a5d
      Lokesh Vutla authored
      
      clrsetbits_le32/clrbits_le32 takes mask of the bits as input that
      are needed to be set/clear. But emif driver passes the shift of the bits.
      Fixing it here.
      
      Reported-by: default avatarMark Mckeown <m-mckeown@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      d6927a5d
    • Vladimir Zapolskiy's avatar
      lpc32xx: remove duplicated DMA_CLK_ENABLE bit definition · bab8d1e2
      Vladimir Zapolskiy authored
      
      Because there is an originally defined CLK_DMA_ENABLE macro in clk.h,
      no reason to add another DMA_CLK_ENABLE macro with the same value.
      
      Remove DMA_CLK_ENABLE, since it does not follow naming convention from
      the code, this implies renaming of DMA_CLK_ENABLE to CLK_DMA_ENABLE in
      lpc32xx/devices.c file.
      
      Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
      Tested-by: default avatarSylvain Lemieux <slemieux@tycoint.com>
      bab8d1e2
    • Peng Fan's avatar
      driver: misc: correct Kconfig entry · c12e0d93
      Peng Fan authored
      
      Should use FSL_SEC_MON, not CONFIG_FSL_SEC_MON as Kconfig entry.
      
      Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: York Sun <yorksun@freescale.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      c12e0d93
    • Hannes Petermaier's avatar
      board/BuR: simplify default IP-setup on B&R boards. · 6312e9aa
      Hannes Petermaier authored
      
      To simplify and having a common default IP-setup on all B&R boards we
      introduce an environment variable "brdefaultip" which does following.
      
      Test if ${ipaddr} is empty, if yes it set's up some defaults:
      - ipaddr   : 192.168.60.1
      - netmask  : 255.255.255.0
      - gatewayip: 192.168.60.254
      - serverip : 192.168.60.254
      
      This environment is ran from CONFIG_PREBOOT.
      
      All other "tricks" are dropped.
      
      Signed-off-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      6312e9aa
    • Stephen Warren's avatar
      fat: handle paths that include ../ · 18a10d46
      Stephen Warren authored
      
      The FAT code contains a special case to parse the root directory. This
      is needed since the root directory location/layout on disk is special
      cased for FAT12/16. In particular, the location and size of the FAT12/16
      root directory is hard-coded and contiguous, whereas all FAT12/16 non-root
      directories, and all FAT32 directories, are stored in a non-contiguous
      fashion, with the layout represented by a linked-list of clusters in the
      FAT.
      
      If a file path contains ../ (for example /extlinux/../bcm2835-rpi-cm.dtb),
      it is possible to need to parse the root directory for the first element
      in the path (requiring application of the special case), then a sub-
      directory (in the general way), then re-parse the root directory (again
      requiring the special case). However, the current code in U-Boot only
      applies the special case for the very first path element, and never for
      any later path element. When reparsing the root directory without
      applying the special case, any file in a sector (or cluster?) other than
      the first sector/cluster of the root directory will not be found.
      
      This change modifies the non-root-dir-parsing loop of do_fat_read_at()
      to detect if it's walked back to the root directory, and if so, jumps
      back to the special case code that handles parsing of the root directory.
      
      This change was tested using sandbox by executing:
      
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0"
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /"
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /extlinux"
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /extlinux/"
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /extlinux/.."
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /extlinux/../"
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /extlinux/../backup"
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /extlinux/../backup/"
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /extlinux/../backup/.."
      ./u-boot -c "host bind 0 ../sd-p1.bin; ls host 0:0 /extlinux/../backup/../"
      ./u-boot -c "host bind 0 ../sd-p1.bin; load host 0:0 0 /bcm2835-rpi-cm.dtb"
      ./u-boot -c "host bind 0 ../sd-p1.bin; load host 0:0 0 /extlinux/../bcm2835-rpi-cm.dtb"
      ./u-boot -c "host bind 0 ../sd-p1.bin; load host 0:0 0 /backup/../bcm2835-rpi-cm.dtb"
      ./u-boot -c "host bind 0 ../sd-p1.bin; load host 0:0 0 /extlinux/..backup/../bcm2835-rpi-cm.dtb"
      ./u-boot -c "host bind 0 ../sd-p1.bin; load host 0:0 0 /extlinux/../backup/../bcm2835-rpi-cm.dtb"
      
      (/extlinux and /backup are in different sectors so trigger some different
      cases, and bcm2835-rpi-cm.dtb is in a sector of the root directory other
      than the first).
      
      In all honesty, this change is a bit of a hack, using goto and all.
      However, as demonstrated above it appears to work well in practice, is
      quite minimal, likely doesn't introduce any risk of regressions, and
      hopefully doesn't introduce any maintenance issues.
      
      The correct fix would be to collapse the root and non-root loops in
      do_fat_read_at() and get_dentfromdir() into a single loop that has a
      small special-case when moving from one sector to the next, to handle
      the layout difference of root/non-root directories. AFAIK all other
      aspects of directory parsing are identical. However, that's a much
      larger change which needs significantly more thought before it's
      implemented.
      
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      18a10d46
    • Masahiro Yamada's avatar
      git-mailrc: add Alexey as ARC maintainer · 350500b3
      Masahiro Yamada authored
      
      It's easier to Cc him on ARC-releated patches.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      350500b3
    • Tom Rini's avatar
      b1fc3c56
    • Heiko Schocher's avatar
      at91, taurus, smartweb: add dfu support · e8b81eef
      Heiko Schocher authored
      
      [root@pollux dfu-util]# ./src/dfu-util -l
      dfu-util 0.8
      
      Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
      Copyright 2010-2014 Tormod Volden and Stefan Schmidt
      This program is Free Software and has ABSOLUTELY NO WARRANTY
      Please report bugs to dfu-util@lists.gnumonks.org
      
      Found DFU: [0908:02d2] ver=0212, devnum=119, cfg=1, intf=0, alt=0, name="Linux", serial="UNKNOWN"
      [root@pollux dfu-util]#
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      e8b81eef
    • Heiko Schocher's avatar
      usb: gadget: at91_udc: add at91_udc into U-Boot · 62019767
      Heiko Schocher authored
      
      add U-Boot specific changes to the at91_udc linux driver,
      so it works with U-Boot.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      62019767
    • Heiko Schocher's avatar
      usb: gadget: at91_udc: port linux driver at91_udc · 8ea1fbf7
      Heiko Schocher authored
      
      port at91_udc driver from linux:
      
      original commit Message:
      commit c94e289f195e0e13cf34d27f9338d28221a85751
      Author: Arnd Bergmann <arnd@arndb.de>
      Date:   Sat Apr 11 00:14:21 2015 +0200
      
          usb: gadget: remove incorrect __init/__exit annotations
      
          A recent change introduced a link error for the composite
          printer gadget driver:
      
          `printer_unbind' referenced in section `.ref.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
      
          Evidently the unbind function should not be marked __exit here,
          because it is called through a callback pointer that is not necessarily
          discarded, __composite_unbind() is indeed called from the error path of
          composite_bind(), which can never work for a built-in driver.
      
          Looking at the surrounding code, I found the same problem in all other
          composite gadget drivers in both the bind and unbind functions, as
          well as the udc platform driver 'remove' functions. Those will break
          if anyone uses the 'unbind' sysfs attribute to detach a device from a
          built-in driver.
      
          This patch removes the incorrect annotations from all the gadget
          drivers.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      8ea1fbf7
    • Bo Shen's avatar
      ARM: atmel: boards: use default CONFIG_SYS_PBSIZE · 0b4e4505
      Bo Shen authored
      
      Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE
      into the console and hitting enter afterwards, causes a hang in the
      system because CONFIG_SYS_PBSIZE is not capable of storing the extra
      characters of the error message:
      "Unknown command '' - try 'help'".
      
      Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h
      to solve this problem.
      
      Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
      Signed-off-by: default avatarJosh Wu <josh.wu@atmel.com>
      0b4e4505
    • Daniel Gorsulowski's avatar
      arm: at91: convert meesc board to generic board · ab892a10
      Daniel Gorsulowski authored
      
      Signed-off-by: default avatarDaniel Gorsulowski <daniel.gorsulowski@esd.eu>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      [fix corrupt line wraps in patch]
      Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
      ab892a10
    • Heiko Schocher's avatar
      taurus: board updates · 0ed366ff
      Heiko Schocher authored
      
      taurus changes:
      - rename at91_spl_board_init to spl_board_init
        fixes problems with recovery button and nand erase sector 0
      - adapt CONFIG_SPL_MAX_SIZE and CONFIG_SPL_BSS_MAX_SIZE
      - add CONFIG_AT91_HW_WDT_TIMEOUT 15
      - CONFIG_SF_DEFAULT_MODE SPI_MODE_3 not mode 0
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      0ed366ff
    • Heiko Schocher's avatar
      arm, at91: add axm extensions · 40540823
      Heiko Schocher authored
      
      add extensions for the axm board:
      - power on LED on power up
      - press both recovery buttons on power up to enter
        recovery mode
      - detect 64 MiB and 128 MiB ramsize
      - PHY rest at reboot because of ATMEL bug
      - use siemens update concept
      - add axm default environment
      - set CONFIG_SPL_MAX_SIZE to 15k
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      40540823
    • Heiko Schocher's avatar
      corvus, dfu: add dfu support · e11793bc
      Heiko Schocher authored
      
      add support for DFU on the corvus board.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      e11793bc
    • Heiko Schocher's avatar
      at91: corvus: board updates · fd45a0d1
      Heiko Schocher authored
      
      - rename at91_spl_board_init into spl_board_init
      - use SZ_1X defines for sizes
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      fd45a0d1
  2. Sep 10, 2015
  3. Sep 09, 2015
    • Bin Meng's avatar
      net: designware: Fix build warnings · f0dc73c0
      Bin Meng authored
      
      When building dm version of designware eth driver on a platform
      with 64-bit phys_addr_t, it reports the following warnings:
      
        drivers/net/designware.c: In function 'designware_eth_probe':
        drivers/net/designware.c:599:2:
          warning: format '%lx' expects argument of type 'long unsigned int',
          but argument 3 has type 'phys_addr_t' [-Wformat]
        drivers/net/designware.c:600:21:
          warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        drivers/net/designware.c:601:21:
          warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      
      This commit fixes the build warnings.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      f0dc73c0
    • Bin Meng's avatar
      x86: galileo: Convert to use CONFIG_DM_USB · d43e816a
      Bin Meng authored
      
      Move to driver model for USB on Intel Galileo.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      d43e816a
    • Bin Meng's avatar
      x86: quark: Add USB PHY initialization support · b06862b9
      Bin Meng authored
      
      USB PHY needs to be properly initialized per Quark firmware writer
      guide, otherwise the EHCI controller on Quark SoC won't work.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      b06862b9
    • Bin Meng's avatar
      x86: Convert to use driver model pci on quark/galileo · 31b5aebd
      Bin Meng authored
      
      Move to driver model pci for Intel quark/galileo.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      31b5aebd
    • Bin Meng's avatar
      x86: Enable PCIe controller on quark/galileo · 316fd392
      Bin Meng authored
      
      Quark SoC holds the PCIe controller in reset following a power on.
      U-Boot needs to release the PCIe controller from reset. The PCIe
      controller (D23:F0/F1) will not be visible in PCI configuration
      space and any access to its PCI configuration registers will cause
      system hang while it is held in reset.
      
      Enable PCIe controller per Quark firmware writer guide.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      316fd392
    • Bin Meng's avatar
      x86: quark: Avoid chicken and egg problem · aa09505b
      Bin Meng authored
      
      If we convert to use driver model pci on quark, we will encounter
      some chicken and egg problems like below:
      
      - To enable PCIe root ports, we need program some registers on the
        message bus via pci bus. With driver model, the first time to
        access pci bus, the pci enumeration process will be triggered.
        But without first enabling PCIe root ports, pci enumeration
        just hangs when scanning PCIe root ports.
      - Similar situation happens when trying to access GPIO from the
        PCIe enabling codes, as GPIO requires its block base address
        to be assigned via a pci configuration register in the bridge.
      
      To avoid such dilemma, replace all pci calls in the quark codes
      to use the local version which does not go through driver model.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      aa09505b
    • Bin Meng's avatar
      x86: quark: Optimize MRC execution time · 5750e5e2
      Bin Meng authored
      
      Intel Quark SoC has a low end x86 processor with only 400MHz
      frequency. Currently it takes about 15 seconds for U-Boot to
      boot to shell and the most time consuming part is with MRC,
      which is about 12 seconds. MRC programs lots of registers on
      the SoC internal message bus indirectly accessed via pci bus.
      
      To speed up the boot, create an optimized version of pci config
      read/write dword routines which directly operate on PCI I/O ports.
      These two routines are inlined to provide better performance too.
      Now it only takes about 3 seconds to finish MRC, which is really
      fast (4 times faster than before).
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      5750e5e2
    • Simon Glass's avatar
      dm: pci: Allow a PCI bus to be found without an alias · 983c6ba2
      Simon Glass authored
      
      At present, until a PCI bus is probed, it cannot be found by its sequence
      number unless it has an alias. This is the same with any device.
      
      However with PCI this is more annoying than usual, since bus 0 is always the
      same device.
      
      Add a function that tries a little harder to locate PCI bus 0. This means
      that PCI enumeration will happen automatically on the first access.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      983c6ba2
Loading