1. 13 8月, 2019 14 次提交
    • A
      ARM: da850-evm: Enable SPI Flash and NAND Flash when booting NOR · 51cd1e23
      Adam Ford 提交于
      Historically there have been various boot options, SPI flash,
      NAND or NOR. The NOR flash is mutually exclusive with MMC, but
      it isn't mutually exclusive with NAND or SPI Flash, so this patch
      enables both NAND flash and SPI Flash when booting from NOR.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      51cd1e23
    • A
      ARM: da850-evm: Enable filesystem commands when booting from NOR · 79bb6467
      Adam Ford 提交于
      The configuration with NOR is mutually exclusive with MMC, and as
      such, the filesystem commands were disabled.  With the USB host
      enabled, this patch enables the file system command which can
      be executed on storage devices attached to the USB.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      79bb6467
    • A
      ARM: da850-evm: Increase environment NOR partition offset · d2c30190
      Adam Ford 提交于
      The current size allocated to U-Boot is 384k, but U-Boot has grown
      to 436K which means that saving the environmental variables wipes
      out part of the U-Boot source and the board ceases to function.
      Due to the sector and erase size for the NOR part and a desire to
      not have to change partition sizes often, this patch moves the
      U-Boot environmental variables to an offset of 1M so saveenv
      does not brick the board.  This patch also sets up MTDIDS and
      MTDPARTS to clearly show where U-Boot and U-Boot's environmental
      variables are located.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      d2c30190
    • A
      ARM: da850-evm: Fix Lowlevel init · 66e2637b
      Adam Ford 提交于
      A previous patch for enabling the NAND config set a flag called
      CONFIG_SKIP_LOWLEVEL_INIT when it should have been called
      CONFIG_SKIP_LOWLEVEL_INIT_ONLY.  The affect this had was creating
      a delay on startup for the NOR version which is XIP and doesn't have
      SPL, so the lowlevel initialization functions need to operate.
      This delay was not really noticeable at first, but the delays have been
      getting longer, finally reached the point of nearly seven seconds
      before the board would appear to start.
      
      This patch sets the CONFIG_SKIP_LOWLEVEL_INIT_ONLY instead which means
      "The normal CP15 init (such as enabling the instruction cache) is still
      performed" per the README.  It doesn't appear to have any adverse
      behavior on the SPI Flash or the NAND flash boards which use SPL.
      
      Fixes: 93f33627 ("ARM: configs: Add da850evm_nand to boot from NAND")
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      66e2637b
    • S
      configs: am65x_evm_a53: enable support for PCIe ethernet cards · 36de3b06
      Sekhar Nori 提交于
      Enable support for Intel E1000 based PCIe ethernet cards that
      can be used to test PCIe RC functionality on AM65x EVM.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      36de3b06
    • S
      arm: dts: k3-am65: add support for PCIe and SERDES · 476e9914
      Sekhar Nori 提交于
      Add needed device-tree nodes to support PCIe 0
      and SERDES on AM65x SoC. The nodes are kept
      disabled by default.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      476e9914
    • S
      configs: am65x_evm_a53: enable PCIe support · e0598c45
      Sekhar Nori 提交于
      Enable support for PCIe and related configurations
      on AM654 EVM platform.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      e0598c45
    • S
      phy: add support for AM654x SERDES · 888e1cae
      Sekhar Nori 提交于
      Add a new SERDES driver for TI's AM654x SoC which configures
      the SERDES only for PCIe. Support fo USB3 can be added later.
      
      SERDES in am654x has three input clocks (left input, external
      reference clock and right input) and two output clocks (left
      output and right output) in addition to a PLL mux clock which
      the SERDES uses for Clock Multiplier Unit (CMU refclock).
      
      The PLL mux clock can select from one of the three input
      clocks. The right output can select between left input and
      external reference clock while the left output can select
      between the right input and external reference clock.
      
      The driver has support to select PLL mux and left/right output
      mux as specified in device tree.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      888e1cae
    • S
      pcie: ti: add driver for AM65x PCIe RC · 03c396bb
      Sekhar Nori 提交于
      Add driver supporting PCIe root-complex available
      on TI's AM65x SoC.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      03c396bb
    • S
      dm: core: add support for getting register address and size · f5b90479
      Sekhar Nori 提交于
      Current dev_read_*() API lacks support to get address and size
      of a "reg" property by name or index. Add support for the same.
      
      Livetree support has been added but not tested on real hardware.
      
      The existing unit tests testing reading address from device-tree
      have been updated to test address as well as size.
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      f5b90479
    • S
      clk: add support for clk_is_match() · acbb7cd4
      Sekhar Nori 提交于
      Add support for clk_is_match() which is required to
      know if two clock pointers point to the same exact
      physical clock.
      
      Also add a unit test for the new API.
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      acbb7cd4
    • N
      power: domain: ti-sci-power-domain: Add device ID info to get/set_device failure · 71cd80af
      Nishanth Menon 提交于
      Failure log for ti_sci_power_domain_on/off is as below:
      "ti_sci_power_domain_on: get/set_device failed (-19)"
      
      The above information is useless for debug without information
      on what specific device access failed. So add that information as well.
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      71cd80af
    • H
      board/BuR/brsmarc1: initial commit · 60df809f
      Hannes Schmelzer 提交于
      This commit adds support for the B&R brsmarc1 SoM.
      
      The SoM is based on TI's AM335x SoC.
      Mainly vxWorks 6.9.4.x is running on the board,
      doing some PLC stuff on various carrier boards.
      Signed-off-by: NHannes Schmelzer <hannes.schmelzer@br-automation.com>
      60df809f
    • S
      watchdog: omap_wdt: Disable DM watchdog support in SPL · 6912f2a8
      Suniel Mahesh 提交于
      This patch disables DM watchdog support for SPL builds and uses
      the legacy omap watchdog driver on TI AM335x chipsets.
      
      The following build error is reported if DM watchdog support was
      enabled in SPL:
      
        CC      spl/drivers/usb/gadget/rndis.o
        LD      spl/drivers/usb/gadget/built-in.o
        LD      spl/drivers/usb/musb-new/built-in.o
        LD      spl/drivers/built-in.o
        LD      spl/u-boot-spl
      arm-linux-ld.bfd: u-boot-spl section .u_boot_list will not fit in region .sram
      arm-linux-ld.bfd: region .sram overflowed by 440 bytes
      make[1]: *** [spl/u-boot-spl] Error 1
      make: *** [spl/u-boot-spl] Error 2
      
      Adjusted WATCHDOG_RESET macro accordingly. Earlier it was pointing
      to hw_watchdog_reset. Since CONFIG_WATCHDOG replaces CONFIG_HW_WATCHDOG,
      now WATCHDOG_RESET macro points to watchdog_reset. This watchdog_reset
      is not defined anywhere for am33xx/omap2 and needs to be defined. Fixed
      this by simply calling hw_watchdog_reset in watchdog_reset.
      
      Built and tested on AM335x device (BeagleboneBlack), compile tested for
      all other AM33xx/omap2 based boards.
      Signed-off-by: NSuniel Mahesh <sunil.m@techveda.org>
      [trini: Fix watchdog.h logic]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      6912f2a8
  2. 12 8月, 2019 4 次提交
    • S
      watchdog: omap_wdt: Convert watchdog driver to use DT and DM · 7659ea32
      Suniel Mahesh 提交于
      This patch adds device tree and driver model watchdog support,
      converts the legacy omap watchdog driver to driver model for
      TI AM335x chipsets. The following compile warning is removed:
      
      ===================== WARNING ======================
      This board does not use CONFIG_WDT (DM watchdog support).
      Please update the board to use CONFIG_WDT before the
      v2019.10 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/MIGRATION.txt for more info.
      ====================================================
      
      CONFIG_HW_WATCHDOG is no more a default option for AM33XX devices
      after DT/DM conversion, adjusted kconfig accordingly.
      
      DM watchdog support is enabled by default in SPL. The SPL image
      doesn't fit into SRAM because of size constraints and build breaks
      with an overflow. For this reason DM watchdog support should be
      disabled in SPL, driver code should be adjusted accordingly to serve
      this purpose.
      Built and tested on AM335x device (BeagleboneBlack), compile tested
      for all other AM33xx based boards.
      Signed-off-by: NSuniel Mahesh <sunil.m@techveda.org>
      7659ea32
    • A
      ARM: omap3: overo: Fix MMC init for SPL · 2800bb15
      Anselm Busse 提交于
      The SPL for the Overo board does not initialise the MMC. Hence, it
      cannot load the main boot loader from the SD card susequently. This
      patch moves the initialisation code for the MMC so it gets included in
      the SPL.
      
      [trini: Add missing header]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      2800bb15
    • A
      board: siemens: extend factoryset reading for giedi and deneb boards · 490e6d68
      Anatolij Gustschin 提交于
      giedi and deneb are i.MX8X based and have additional data with
      WLAN MAC in factoryset container. Enable building for these
      boards and adapt factoryset functions to set WLAN MAC and dtb
      name in environment.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      490e6d68
    • A
      board: siemens: adapt factoryset reading for DM_I2C enabled boards · 4987bc2a
      Anatolij Gustschin 提交于
      For new boards we always enable DM_I2C. Extend factoryset functions
      to support EEPROM reading on these boards.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      4987bc2a
  3. 11 8月, 2019 2 次提交
  4. 10 8月, 2019 20 次提交