Skip to content
Snippets Groups Projects
  1. Oct 10, 2014
  2. Oct 08, 2014
  3. Oct 07, 2014
  4. Oct 06, 2014
    • Tom Rini's avatar
      8a6b088a
    • Tom Rini's avatar
      Merge branch 'topic/arm/socfpga-20141006' of git://git.denx.de/u-boot-socfpga · 04de09f8
      Tom Rini authored
      
      Fix a trivial conflict in dw_mmc.c after talking with Marek.
      
      Conflicts:
      	drivers/mmc/dw_mmc.c
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      04de09f8
    • Eric Nelson's avatar
      usb: gadget: fastboot: terminate commands with NULL · e2140588
      Eric Nelson authored
      
      Without NULL termination, various commands will read past the
      end of input. In particular, this was noticed with error()
      calls in cb_getvar and simple_strtoul() in cb_download.
      
      Since the download callback happens elsewhere, the 4k buffer
      should always be sufficient to handle command arguments.
      
      Signed-off-by: default avatarEric Nelson <eric.nelson@boundarydevices.com>
      e2140588
    • Daniel Mack's avatar
      usb: musb-new: core: set MUSB_POWER_HSENAB in MUSB_POWER for host mode · 16b61d13
      Daniel Mack authored
      
      This bit allows the MUSB controller to negotiate for high-speed mode when
      the device is reset by the hub. If unset, Babble errors occur with
      high-speed mass storage devices right after the first packet. This condition
      is not caught by the interrupt handles in U-Boot, so no recovery is done,
      and the USB communication is stuck.
      
      To fix this, set the bit unconditionally, not only for
      CONFIG_USB_GADGET_DUALSPEED but also for host-only modes.
      
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      16b61d13
    • Marek Vasut's avatar
      arm: socfpga: Use CMD_FS_GENERIC · 2f210639
      Marek Vasut authored
      
      Enable and use the CONFIG_CMD_FS_GENERIC to avoid hard-coding the
      filesystem type into the environment.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      2f210639
    • Pavel Machek's avatar
      arm: socfpga: Split SoCFPGA configuration · 5095ee08
      Pavel Machek authored
      
      Split the SoCFPGA configuration into SoC-specific part which is
      common for all boards (socfpga_cyclone5_common.h) and a board
      specific part. There is currently only one board, which is the
      generic SoCFPGA board (socfpga_cyclone5.h), but there are more
      to come.
      
      This is necessary due to various features of the boards, which
      unfortunatelly cannot be autodetected.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      5095ee08
    • Marek Vasut's avatar
      arm: socfpga: Clean up SoCFPGA configuration · 47f9b4e1
      Marek Vasut authored
      
      Reorganize and cleanup the configuration file for SoCFPGA. There
      is no functional change after this cleanup. This was necessary,
      since the file was a wild mess and it was impossible to make sense
      of it's content, let alone change something without breaking some
      other thing. This patch puts the contents on par with regular U-Boot
      standards.
      
      Also remove unused preprocessor symbols CONFIG_SINGLE_BOOTOADER
      and CONFIG_USE_IRQ, which is undefined by default. Finally, do
      logical reordering of the defines in the file so it's much more
      readable. The reordering was also necessary for the splitting
      as the initial one was messy.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      47f9b4e1
    • Marek Vasut's avatar
      arm: socfpga: Add command to control HPS-FPGA bridges · 7249fafb
      Marek Vasut authored
      
      Add command to enable and disable the bridges between HPS and FPGA.
      
      This patch does have a checkpatch issue with the assembler portion,
      checkpatch correctly complains that there should be no whitespace
      before quoted newline. I do not agree that fixing this specific
      checkpatch issue will improve the readability, thus this one is not
      addressed.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Wolfgang Denk <wd@denx.de>
      7249fafb
    • Marek Vasut's avatar
      arm: socfpga: Move cache_enable to CPU code · 4ab333b7
      Marek Vasut authored
      
      Move icache_enable() and dcache_enable() function calls from
      board code into the CPU code and into the enable_caches()
      function. This is how the cache enabling code was designed
      to work.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      4ab333b7
    • Chin Liang See's avatar
      arm: socfpga: Enable SDMMC boot for SOCFPGA U-Boot · 97ce274d
      Chin Liang See authored
      
      Enable the SDMMC boot as default boot for SOCFPGA U-Boot dev kit.
      Enable the bootz command as zImage is used instead uImage.
      
      Signed-off-by: default avatarChin Liang See <clsee@altera.com>
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      97ce274d
    • Chin Liang See's avatar
      arm: socfpga: Enable DWMMC for SOCFPGA · ddcbed04
      Chin Liang See authored
      
      Enable the DesignWare MMC controller driver support
      for SOCFPGA Cyclone5 dev kit
      
      Signed-off-by: default avatarChin Liang See <clsee@altera.com>
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      ddcbed04
    • Pavel Machek's avatar
      arm: socfpga: nic301: Add NIC-301 configuration code · 13e81d45
      Pavel Machek authored
      
      Add code which configures the AMBA NIC-301 and the SCU on the SoCFPGA .
      The code sets the access permissions for the CPU to the AMBA slaves such
      that the CPU can access them in both secure and non-secure mode.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      13e81d45
    • Marek Vasut's avatar
      arm: socfpga: pl310: Map SDRAM to 0x0 · 60d804c2
      Marek Vasut authored
      
      Configure the PL310 address filter to make sure DRAM is mapped to 0x0.
      This code also configures the "remap" register of NIC-301 and sets the
      required 'mpuzero' bit.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      60d804c2
    • Marek Vasut's avatar
      arm: socfpga: nic301: Add NIC-301 GPV register file · 7056efcc
      Marek Vasut authored
      
      Add register definition for the NIC-301 used on SoCFPGA.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      7056efcc
    • Marek Vasut's avatar
      arm: socfpga: scu: Add SCU register file · 181d3638
      Marek Vasut authored
      
      Add the Snoop Control Unit register definition file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      181d3638
Loading