1. 05 Apr, 2017 14 commits
    • Ye Li's avatar
      MLK-12527-3 android: Add board support to enable android fastboot · dcba1e63
      Ye Li authored
      Add board level support for android fastboot feature. Each board has
      a android specified header file for defining android related configuraitons.
      And add build targets for their android uboot images building.
      
      For mx6qsabreauto, mx6sabresd and mx7dsabresd, we enable the android
      fastboot exclusive with DFU.
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 43fe988af28c5e51fb23aa846e04bc9698256926)
      dcba1e63
    • Ye Li's avatar
      MLK-14326-3 mx6qsabreauto: Enable OF_CONTROL and DM driver · d5f904fc
      Ye Li authored
      Enable OF_CONTROL and DM driver on mx6qsabreauto.
      1. Add the imx6qsabreauto relevant DTS file for using DTB.
      2. Modify PMIC initialization codes to use DM PMIC driver.
      3. Modify to use PCA953X DM driver
      4. Remove NAND from default, since the default imx6q-sabreauto.dts disabled
         the nand. The pins are conflicted with UART3, while UART3 is enabled.
      5. For NAND build configuration, remove the USB, since the imx6q-sabreauto-gpmi-weim.dts
         will have pin conflicts on steer logic.
      6. GPIO requests added.
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      d5f904fc
    • Ye Li's avatar
      MLK-14363 mx6qsabreauto: Fix ethernet PHY setting issue · b9c64d0e
      Ye Li authored
      The PHY settings for RGMII has been removed from mx6qsabreauto board codes,
      due to the atheros PHY driver have updated to use same configuration for
      AR8031 and AR8035, while this configuration is duplicated as we set in board codes.
      
      But in recent codes, the PHY driver added a patch for AR8031 independent config.
      So needs to add the PHY settings back to the board codes.
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      b9c64d0e
    • Ye Li's avatar
      MLK-12996 imx: mx6dqp/dq: Fix SATA read/write fail after booting from SATA · 70bc3dd2
      Ye Li authored
      We found a issue in PLL6 ENET that changing the bit[1:0] DIV_SELECT for ENET
      ref clock will impact the SATA ref 100Mhz clock.  If SATA is initialized before
      this changing, SATA read/write can't work after it. And we have to re-init SATA.
      
      The issue can reproduce on both i.MX6DQP and i.MX6DQ. IC investigation is ongoing.
      
      This patch is an work around that moves the ENET clock setting
      (enable_fec_anatop_clock) from ethernet init to board_init which is prior
      than SATA initialization. So there is no PLL6 change after SATA init.
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit fd8fbf7fa0b10199ac89cd13cae851149f51accb)
      70bc3dd2
    • Ye.Li's avatar
      MLK-11230 imx6: USB: Modify OTG ID pin pad setting to pull up · f8f50ba4
      Ye.Li authored
      Set the ID pin pad to pull up not the pull down at default, otherwise
      we can't enter the device mode, but always detect as host.
      
      After this change we have to use portA cable to play as host,
      and use portB cable for device.
      Signed-off-by: 's avatarYe.Li <B37916@freescale.com>
      (cherry picked from commit b315d6b36a913d75d25284320e69050ebdf7a7eb)
      f8f50ba4
    • Ye Li's avatar
      MLK-12493-1 Add support for various boot device · b3b794bf
      Ye Li authored
      Add support for various boot devices like NAND, QSPINOR, SPINOR,
      eMMC, EIMNOR, SATA.
      
      Modify board level files to support the feature and add corresponding defconfig files
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 72c35e80b86f7f75a52db45959793882bb730793)
      b3b794bf
    • Ye Li's avatar
      MLK-12500-2 HAB: Add commented secure boot configurations · 2398e5ff
      Ye Li authored
      CONFIG_SECURE_BOOT is used for signed image building, this configuration is
      not enabled at default. Comment it in mx6/mx7 common header file. Users can
      uncomment it to enable.
      
      Also add CONFIG_CSF_SIZE for defining the CSF reserved size and resize
      the CONFIG_CSF_SIZE to 0x4000 to align with v2016.03.
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 01cc7d9bc205251c13712418d51f3a4d7b20861b)
      2398e5ff
    • Ye Li's avatar
      MLK-12495 mx6: Add LDO bypass support · 8f8699a8
      Ye Li authored
      Port LDO bypass support from v2015 to support the features:
      
      1. Add check for 1.2GHz core speed. If Speed grading fuse is for 1.2GHz,
         enable LDO bypass and setup PMIC voltages. LDO bypass is dependent
         on the flatten device tree file.
      
      2. We set WDOG_B in set_anatop_bypass() before, because it is the only case, but now
         on i.mx6sabreauto board, we didn't use ldo-bypass mode, but have to use WDOG_B to
         reboot whole board, so split these code to independent function so that board file
         can call it freely.
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 5b87d04dba66fa45375d59648838ef89f559f75d)
      8f8699a8
    • Peng Fan's avatar
      MLK-12436-8: imx: mx6qsabreauto: misc board update · 4798ccf6
      Peng Fan authored
      To Align with imx_v2016.03.
      1. Add USDHC1 support on mother board
      2. Add SPINOR flash support.
      3. Add enet ref clk pinmux setting and enet settings
      4. Use CONFIG_SYS_USE_EIMNOR to wrap eimnor settings.
      5. update mmc board settings
      6. update board_init and move nand settings to board_init, but not in
         board_early_init_f
      7. update pmic settings to align with datasheet.
      Signed-off-by: 's avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit f05f2281548ab7b47f69b2c517eb6f85ad09a5d2)
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      4798ccf6
    • Peng Fan's avatar
      MLK-12436-7: imx: mx6qsabreauto: add solo board support · 80d19b25
      Peng Fan authored
      Add solo version ddr script and build target.
      Signed-off-by: 's avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit 54af2f744c663ac2326c1488a26fac0c4ccdad09)
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      80d19b25
    • Ye Li's avatar
      MLK-14261-1 mx6solo: Rename the CONFIG_MX6SOLO to CONFIG_MX6S · e974006f
      Ye Li authored
      Since there is already CONFIG_MX6S used for i.MX6 SOLO in u-boot codes,
      we don't need to add new CONFIG_MX6SOLO. Rename the existing CONFIG_MX6SOLO
      to CONFIG_MX6S.
      
      Additional, for CONFIG_MX6S, we should select CONFIG_MX6DL. The major difference
      for these two chips are core number and DDR controller. So all duallite
      relevant definitions can apply to solo. User can combine the two configs
      if any code only apply to solo or duallite.
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      e974006f
    • Peng Fan's avatar
      MLK-12436-6: imx: mx6dqpsabreauto: update ddr script to 1.13 · b93aa92e
      Peng Fan authored
      DDR script:
      http://sw-stash.freescale.net/projects/IMX/repos/ddr-scripts-rel/commits/8111e4d0cd81226899be637013048281e3c097b4
      http://compass.freescale.net/livelink/livelink?func=ll&objId=234753630&objAction=browse&viewType=1
      arik_r2_sabre_ddr3_528_1.13.inc is for sabre-AI
      
      Patch in imx_v2015.04:
      "
      commit 5fb08a4dcc7b8478fc4236b90ad8dc2190cf94e7
      Author: Peng Fan <Peng.Fan@freescale.com>
      Date:   Wed Nov 4 16:30:47 2015 +0800
      
          "MLK-11825 imx: mx6dqp: update ddr script to 1.13"
      "
      Signed-off-by: 's avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit d756891b9d303e456f59a18d5fa81969a7f37337)
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      b93aa92e
    • Ye Li's avatar
      MLK-14250-4 mx6dq/dl/dqp: Add plugin boot support for sabre boards · db5e443a
      Ye Li authored
      Add plugin.S for plugin boot initialization on mx6dq/dl/dqp sabresd and sabreauto
      boards. Need to set "CONFIG_USE_IMXIMG_PLUGIN" for this feature.
      Add the configurations for the plugin enabled buiding.
      Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
      db5e443a
    • Peng Fan's avatar
      MLK-12434-3: mx6sabre: dynamic setting mmcdev and mmcroot · 7810c811
      Peng Fan authored
      Dynamic setting mmcdev and mmcroot for mx6sabresd and mx6qsabreauto.
      Signed-off-by: 's avatarPeng Fan <peng.fan@nxp.com>
      (cherry picked from commit 14040e07549a394500c11e815f31299e4fb0ac50)
      7810c811
  2. 02 Jan, 2017 1 commit
    • Fabio Estevam's avatar
      mx6qsabreauto: Fix the EIM clock for the mx6qp variant · cfb37772
      Fabio Estevam authored
      On the MX6Q the aclk_eim_slow_podf field is '1' after POR, while on the
      MX6DQP it is '3'.
      
      This makes the EIM clock to be only 66MHz on the mx6qp variant, instead of
      132 MHz.
      
      Instead of relying on the POR values for the CSMR1 register, make sure to
      manually configure the clk_eim_slow_sel field as '00' so that EIM clock is
      derived from AXI clock and the aclk_eim_slow_podf field as '1' so that EIM
      clock can be AXI clock divided by 2.
      
      This way a consistent EIM clock frequency is configured for all the mx6
      variants.
      Signed-off-by: 's avatarFabio Estevam <fabio.estevam@nxp.com>
      Acked-by: 's avatarPeng Fan <peng.fan@nxp.com>
      cfb37772
  3. 23 Sep, 2016 1 commit
  4. 12 Jul, 2016 1 commit
  5. 31 May, 2016 1 commit
  6. 24 May, 2016 1 commit
  7. 02 Mar, 2016 1 commit
  8. 11 Jan, 2016 1 commit
  9. 03 Jan, 2016 1 commit
  10. 24 Sep, 2015 1 commit
  11. 13 Sep, 2015 1 commit
  12. 02 Sep, 2015 1 commit
    • Peng Fan's avatar
      imx: clock support enet2 anatop clock support · 6d97dc10
      Peng Fan authored
      To i.MX6SX/UL, two ethernet interfaces are supported.
      Add ENET2 clock support:
      1. Introduce a new input parameter "fec_id", only 0 and 1 are allowed.
         To value 1, only i.MX6SX/UL can pass the check.
      2. Modify board code who use this api to follow new api prototype.
      Signed-off-by: 's avatarPeng Fan <Peng.Fan@freescale.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Nikolaos Pasaloukos <Nikolaos.Pasaloukos@imgtec.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Reviewed-by: 's avatarStefan Roese <sr@denx.de>
      6d97dc10
  13. 02 Aug, 2015 2 commits
    • Peng Fan's avatar
      imx: mx6qpsabreauto: Add MX6QP SABREAUTO CPU3 board support · 361b715b
      Peng Fan authored
      1. Add DDR script for mx6qpsabreauto board.
      2. On CPU3 board, enet RGMII tx clock is from internal PLL. Set the GPR5[9]
         and init the enet pll output to 125Mhz.
      3. On CPU3 board, SW1ABC=VDDSOC_IN, SW2=VDDARM_IN.
      
      Build target: mx6qpsabreauto_config
      
      Boot Log:
      U-Boot 2015.07-rc2-00071-gfd985ff (Jun 29 2015 - 22:10:55 +0800)
      
      CPU:   Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
      CPU:   Automotive temperature grade (-40C to 125C) at 34C
      Reset cause: POR
      Board: MX6Q-Sabreauto revA
      I2C:   ready
      DRAM:  2 GiB
      PMIC:  PFUZE100 ID=0x10
      Flash: 32 MiB
      NAND:  0 MiB
      MMC:   FSL_SDHC: 0
      *** Warning - bad CRC, using default environment
      
      No panel detected: default to HDMI
      Display: HDMI (1024x768)
      In:    serial
      Out:   serial
      Err:   serial
      Net:   FEC [PRIME]
      Hit any key to stop autoboot:  0
      
      Note:
      In this patch, we still add a new config mx6qpsabreauto_config,
      since SPL is not supported now, and IMX_CONFIG is needed at
      build time, so add this config. Future, when SPL is converted,
      this config can be removed.
      Signed-off-by: 's avatarPeng Fan <Peng.Fan@freescale.com>
      Signed-off-by: 's avatarRobin Gong <b38343@freescale.com>
      Signed-off-by: 's avatarYe.Li <B37916@freescale.com>
      Reviewed-by: 's avatarFabio Estevam <fabio.estevam@freescale.com>
      361b715b
    • Peng Fan's avatar
      imx: mx6sabresd/sabreauto runtime setting fdt_file · e6fc8995
      Peng Fan authored
      Detect the SOC and board variant at runtime and change the dtb name,
      but not hardcoding the fdt_file env variable.
      
      Take the following patch as a reference.
      Íd58699b157df75f1aa0b363ea9c21add21a0c
      "mx6cuboxi: Load the correct 'fdtfile' variable"
      Signed-off-by: 's avatarPeng Fan <Peng.Fan@freescale.com>
      Reviewed-by: 's avatarFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: 's avatarStefano Babic <sbabic@denx.de>
      e6fc8995
  14. 11 Feb, 2015 1 commit
  15. 10 Feb, 2015 1 commit
  16. 20 Nov, 2014 2 commits
  17. 13 Nov, 2014 1 commit
  18. 03 Nov, 2014 1 commit
    • Ye.Li's avatar
      imx: mx6 sabreauto: Add board support for USB EHCI · 8fe280f3
      Ye.Li authored
      On mx6 sabreauto board, there are two USB ports:
      0: OTG
      1: HOST
      The EHCI driver is enabled for this board, but the IOMUX and VBUS power
      control is not implemented, which cause both USB port failed to work.
      This patch fix the problem by adding the board support codes.
      
      Since the power control uses the GPIO pin from port expander MAX7310,
      the PCA953X driver is enabled for accessing the MAX7310.
      
      The ID pin of OTG Port needs to configure the GPR1 bit 13 for selecting
      its daisy chain. Add a new function "imx_iomux_set_gpr_register" to
      handle GPR register setting.
      Signed-off-by: 's avatarYe.Li <B37916@freescale.com>
      8fe280f3
  19. 29 Oct, 2014 1 commit
    • Georges Savoundararadj's avatar
      kconfig: arm: introduce symbol for ARM CPUs · 2e07c249
      Georges Savoundararadj authored
      This commit introduces a Kconfig symbol for each ARM CPU:
      CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
      CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
      Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
      for CPU_ARM1176 and CPU_V7.
      
      For each target, the corresponding CPU is selected and the definition of
      SYS_CPU in the corresponding Kconfig file is removed.
      
      Also, it removes redundant "string" type in some Kconfig files.
      Signed-off-by: 's avatarGeorges Savoundararadj <savoundg@gmail.com>
      Acked-by: 's avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      2e07c249
  20. 21 Oct, 2014 2 commits
  21. 24 Sep, 2014 1 commit
    • Nikita Kiryanov's avatar
      spi: mxc: fix sf probe when using mxc_spi · 155fa9af
      Nikita Kiryanov authored
      MXC SPI driver has a feature whereas a GPIO line can be used to force CS high
      across multiple transactions. This is set up by embedding the GPIO information
      in the CS value:
      
      cs = (cs | gpio << 8)
      
      This merge of cs and gpio data into one value breaks the sf probe command:
      if the use of gpio is required, invoking "sf probe <cs>" will not work, because
      the CS argument doesn't have the GPIO information in it. Instead, the user must
      use "sf probe <cs | gpio << 8>". For example, if bank 2 gpio 30 is used to force
      cs high on cs 0, bus 0, then instead of typing "sf probe 0" the user now must
      type "sf probe 15872".
      
      This is inconsistent with the description of the sf probe command, and forces
      the user to be aware of implementaiton details.
      
      Fix this by introducing a new board function: board_spi_cs_gpio(), which will
      accept a naked CS value, and provide the driver with the relevant GPIO, if one
      is necessary.
      
      Cc: Eric Nelson <eric.nelson@boundarydevices.com>
      Cc: Eric Benard <eric@eukrea.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Tim Harvey <tharvey@gateworks.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Marek Vasut <marex@denx.de>
      Reviewed-by: 's avatarMarek Vasut <marex@denx.de>
      Signed-off-by: 's avatarNikita Kiryanov <nikita@compulab.co.il>
      Reviewed-by: 's avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
      155fa9af
  22. 16 Sep, 2014 1 commit
  23. 13 Sep, 2014 1 commit
  24. 30 Jul, 2014 1 commit
    • Masahiro Yamada's avatar
      Add board MAINTAINERS files · 93d4334f
      Masahiro Yamada authored
      We have switched to Kconfig and the boards.cfg file is going to
      be removed. We have to retrieve the board status and maintainers
      information from it.
      
      The MAINTAINERS format as in Linux Kernel would be nice
      because we can crib the scripts/get_maintainer.pl script.
      
      After some discussion, we chose to put a MAINTAINERS file under each
      board directory, not the top-level one because we want to collect
      relevant information for a board into a single place.
      
      TODO:
      Modify get_maintainer.pl to scan multiple MAINTAINERS files.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: 's avatarTom Rini <trini@ti.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      93d4334f