Skip to content
Snippets Groups Projects
  1. Dec 16, 2016
  2. Dec 12, 2016
    • Konstantin Porotchkin's avatar
      arm64: mvebu: Add L3 cache flush functionality to A8K family · b58385df
      Konstantin Porotchkin authored
      
      Add missing L3 cache flush functionality which absence prevents
      Linux kernel from normal boot in case the L3 cache is enabled
      by ATF.
      The L3 cache is named the "last level" cache in order to keep
      the terminology similar to the ATF code.
      This cache should not be disabled by u-boot since the Linux
      kernel cannot activate it, so it is activates at ATF stage.
      However the cache flush is required for preventing data corruption
      after disabling the MMU and the data cache before passing control
      to the loaded Linux image.
      
      Signed-off-by: default avatarKonstantin Porotchkin <kostap@marvell.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      b58385df
    • Konstantin Porotchkin's avatar
      arm64: mvebu: Add pin control nodes to A8K family DTS files · f99386c5
      Konstantin Porotchkin authored
      
      Add pin control nodes to APN806, CP-master, CP-slave and
      Armada-7040 and Armada-8040 boards DTS files
      
      Signed-off-by: default avatarKonstantin Porotchkin <kostap@marvell.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      f99386c5
    • Konstantin Porotchkin's avatar
      arm64: mvebu: pinctrl: Add pin control driver for A8K family · 656e6cc8
      Konstantin Porotchkin authored
      
      Add a DM port of Marvell pin control driver.
      The A8K SoC family contains several silicone dies interconnected
      in a single package. Every die is normally equipped with its own
      pin controller unit.
      There are 2 pin controllers in A70x0 SoC and 3 in A80x0 SoC.
      
      Signed-off-by: default avatarKonstantin Porotchkin <kostap@marvell.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      656e6cc8
    • Konstantin Porotchkin's avatar
      arm64: mvebu: Modify the A8K SPI and I2C config in DTS · 5b613d38
      Konstantin Porotchkin authored
      
      Align the Armada-8040-db and Armada-7040-db SPI and I2C
      DTS settings with latest DB settings:
      - 8040-db: disable i2c0 and spi0 on AP (MPPs are reserved for SDIO)
      - 8040-db: disable cps_i2c0 on CP1
      - 8040-db: enable spi1 on CP1 (the new location of the boot flash)
        The spi1 on CP1 is aliased as spi0 since this is the way
        the driver enumerates it.
      
      Signed-off-by: default avatarKonstantin Porotchkin <kostap@marvell.com>
      Reviewed-by: default avatarStefan Roese <sr@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      5b613d38
  3. Dec 11, 2016
  4. Dec 09, 2016
  5. Dec 08, 2016
    • Michal Simek's avatar
      block: Move ceva driver to DM · 8814c038
      Michal Simek authored
      
      This patch also includes ARM64 zynqmp changes:
      - Remove platform non DM initialization
      - Remove hardcoded sata base address
      
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Series-to: sjg, agraf@suse.de
      Series-cc: uboot
      Series-version: 4
      Series-changes: 2
      - make ceva_init_sata static
      - Move SATA_CEVA to defconfig
      - Initalized max_lun and max_id platdata
      
      Series-changes: 3
      - Extend Kconfig help description
      - sort dm.h
      - Remove SPL undefinition from board file
      - Fix Kconfig dependecies
      8814c038
  6. Dec 06, 2016
    • Bill Randle's avatar
      qts-filter.sh: strip DOS line endings and handle continuation lines · 27211b60
      Bill Randle authored
      
      Some Altera Quartus generated files have long lines that are split with a '\' at
      the end of the line. It also wOn Windows, rites files in DOS format, which can
      confuse some of the processing scripts in this file. This patch solves both issues.
      
      Signed-off-by: default avatarBill Randle <bill.randle@gmail.com>
      Cc: Marek Vasut <marex@denx.de>
      27211b60
    • Marek Vasut's avatar
      ARM: socfpga: Add boot0 hook to prevent SPL corruption · beee6a30
      Marek Vasut authored
      
      Valid Altera SoCFPGA preloader image must contain special data at
      offsets 0x40, 0x44, 0x48 and valid instructions at address 0x4c or
      0x50. These addresses are by default used by U-Boot's vector table
      and a piece of reset handler, thus a valid preloader corrupts those
      addresses slightly. While this works most of the time, this can and
      does prevent the board from rebooting sometimes and triggering this
      issue may even depend on compiler.
      
      The problem is that when SoCFPGA performs warm reset, it checks the
      addresses 0x40..0x4b in SRAM for a valid preloader signature and
      header checksum. If those are found, it jumps to address 0x4c or
      0x50 (this is unclear). These addresses are populated by the first
      few instructions of arch/arm/cpu/armv7/start.S:
      
      ffff0040 <data_abort>:
      ffff0040:       ebfffffe        bl      ffff0040 <data_abort>
      
      ffff0044 <reset>:
      ffff0044:       ea000012        b       ffff0094 <save_boot_params>
      
      ffff0048 <save_boot_params_ret>:
      ffff0048:       e10f0000        mrs     r0, CPSR
      ffff004c:       e200101f        and     r1, r0, #31
      ffff0050:       e331001a        teq     r1, #26
      
      Without this patch, the CPU will enter the code at 0xffff004c or
      0xffff0050 , at which point the value of r0 and r1 registers is
      undefined. Moreover, jumping directly to the preloader entry point
      at address 0xffff0000 will also fail, because address 0xffff004.
      is invalid and contains the preloader magic.
      
      Add BOOT0 hook which reserves the area at offset 0x40..0x5f and
      populates offset 0x50 with jump to the entry point. This way, the
      preloader signature is stored in reserved space and can not corrupt
      the SPL code.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Stefan Roese <sr@denx.de>
      Tested-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
      beee6a30
    • Anatolij Gustschin's avatar
      socfpga: add support for Terasic DE1-SoC board · e9c847c3
      Anatolij Gustschin authored
      
      Add CycloneV based Terasic DE1-SoC board. The board boots
      from SD/MMC. Ethernet and USB host is supported.
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      e9c847c3
  7. Dec 05, 2016
Loading