18 Sep, 2017

1 commit


28 Aug, 2017

1 commit


16 Aug, 2017

2 commits


12 Jul, 2017

2 commits

  • Change is consistent with other SOCs and it is in preparation
    for adding SOMs. SOC's related files are moved from cpu/ to
    mach-imx/.

    This change is also coherent with the structure in kernel.

    Signed-off-by: Stefano Babic

    CC: Fabio Estevam
    CC: Akshay Bhat
    CC: Ken Lin
    CC: Marek Vasut
    CC: Heiko Schocher
    CC: "Sébastien Szymanski"
    CC: Christian Gmeiner
    CC: Stefan Roese
    CC: Patrick Bruenn
    CC: Troy Kisky
    CC: Nikita Kiryanov
    CC: Otavio Salvador
    CC: "Eric Bénard"
    CC: Jagan Teki
    CC: Ye Li
    CC: Peng Fan
    CC: Adrian Alonso
    CC: Alison Wang
    CC: Tim Harvey
    CC: Martin Donnelly
    CC: Marcin Niestroj
    CC: Lukasz Majewski
    CC: Adam Ford
    CC: "Albert ARIBAUD (3ADEV)"
    CC: Boris Brezillon
    CC: Soeren Moch
    CC: Richard Hu
    CC: Wig Cheng
    CC: Vanessa Maegima
    CC: Max Krummenacher
    CC: Stefan Agner
    CC: Markus Niebel
    CC: Breno Lima
    CC: Francesco Montefoschi
    CC: Jaehoon Chung
    CC: Scott Wood
    CC: Joe Hershberger
    CC: Anatolij Gustschin
    CC: Simon Glass
    CC: "Andrew F. Davis"
    CC: "Łukasz Majewski"
    CC: Patrice Chotard
    CC: Nobuhiro Iwamatsu
    CC: Hans de Goede
    CC: Masahiro Yamada
    CC: Stephen Warren
    CC: Andre Przywara
    CC: "Álvaro Fernández Rojas"
    CC: York Sun
    CC: Xiaoliang Yang
    CC: Chen-Yu Tsai
    CC: George McCollister
    CC: Sven Ebenfeld
    CC: Filip Brozovic
    CC: Petr Kulhavy
    CC: Eric Nelson
    CC: Bai Ping
    CC: Anson Huang
    CC: Sanchayan Maity
    CC: Lokesh Vutla
    CC: Patrick Delaunay
    CC: Gary Bisson
    CC: Alexander Graf
    CC: u-boot@lists.denx.de
    Reviewed-by: Fabio Estevam
    Reviewed-by: Christian Gmeiner

    Stefano Babic
     
  • At present CONFIG_CMD_SATA enables the 'sata' command which also brings
    in SATA support. Some boards may wish to enable SATA without the command.
    Add a separate CONFIG to permit this.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     

29 Nov, 2016

1 commit

  • The DDR calibration routines have scattered support for bus
    widths other than 64-bits:

    -- The mmdc_do_write_level_calibration() routine assumes the
    presence of PHY1, and
    -- The mmdc_do_dqs_calibration() routine tries to determine
    whether one or two DDR PHYs are active by reading MDCTL.

    Since a caller of these routines must have a valid struct mx6_ddr_sysinfo
    for use in calling mx6_dram_cfg(), and the bus width is available in the
    "dsize" field, use this structure to inform the calibration routines which
    PHYs are active.

    This allows the use of the DDR calibration routines on CPU variants
    like i.MX6SL that only have a single MMDC port.

    Signed-off-by: Eric Nelson
    Reviewed-by: Marek Vasut

    Eric Nelson
     

24 Sep, 2016

1 commit


07 Sep, 2016

1 commit

  • Currently MX6 SPL DDR initialization hardcodes the REF_SEL and
    REFR fields of the MDREF register as 1 and 7, respectively for
    DDR3 and 0 and 3 for LPDDR2.

    Looking at the MDREF initialization done via DCD we see that
    boards do need to initialize these fields differently:

    $ git grep 0x021b0020 board/
    board/bachmann/ot1200/mx6q_4x_mt41j128.cfg:DATA 4 0x021b0020 0x00005800
    board/ccv/xpress/imximage.cfg:DATA 4 0x021b0020 0x00000800 /* MMDC0_MDREF */
    board/freescale/mx6qarm2/imximage.cfg:DATA 4 0x021b0020 0x7800
    board/freescale/mx6qarm2/imximage.cfg:DATA 4 0x021b0020 0x00005800
    board/freescale/mx6qarm2/imximage_mx6dl.cfg:DATA 4 0x021b0020 0x00005800
    board/freescale/mx6qarm2/imximage_mx6dl.cfg:DATA 4 0x021b0020 0x00005800
    board/freescale/mx6qsabreauto/imximage.cfg:DATA 4 0x021b0020 0x00005800
    board/freescale/mx6qsabreauto/mx6dl.cfg:DATA 4 0x021b0020 0x00005800
    board/freescale/mx6qsabreauto/mx6qp.cfg:DATA 4 0x021b0020 0x00005800
    board/freescale/mx6sabresd/mx6dlsabresd.cfg:DATA 4 0x021b0020 0x00005800
    board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg:DATA 4 0x021b0020 0x00005800
    board/freescale/mx6slevk/imximage.cfg:DATA 4 0x021b0020 0x00001800
    board/freescale/mx6sxsabreauto/imximage.cfg:DATA 4 0x021b0020 0x00000800
    board/freescale/mx6sxsabresd/imximage.cfg:DATA 4 0x021b0020 0x00000800
    board/warp/imximage.cfg:DATA 4 0x021b0020 0x00001800

    So introduce a mechanism for users to be able to configure
    REFSEL and REFR fields as needed.

    Keep all the mx6 SPL users in their current REF_SEL and REFR values,
    so no functional changes for the existing users.

    Signed-off-by: Fabio Estevam
    Reviewed-by: Eric Nelson

    Fabio Estevam
     

03 Feb, 2016

1 commit


01 Dec, 2015

1 commit

  • The following patch changed the PFUZE100 swbst register bit definitions
    and broke PMIC configuration on multiple boards, at least on the novena
    and gw_ventana. This patch fixes it.

    commit 8fa46350a4c7dca7710362f6c871098557b934ad
    Author: Peng Fan
    Date: Fri Aug 7 16:43:45 2015 +0800

    power: regulator: add pfuze100 support

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Peng Fan
    Cc: Przemyslaw Marczak
    Cc: Stefano Babic
    Cc: Tim Harvey
    Cc: Vagrant Cascadian
    Reviewed-by: Przemyslaw Marczak
    Tested-by: Vagrant Cascadian
    Reviewed-by: Peng Fan
    Acked-by: Tim Harvey

    Marek Vasut
     

20 Nov, 2015

2 commits


13 Nov, 2015

1 commit


05 Nov, 2015

1 commit


13 Sep, 2015

1 commit

  • Remove duplicated SYS_SOC Kconfig entry from board Kconfig,
    because we have this entry in arch/arm/cpu/armv7/mx6/Kconfig.

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Heiko Schocher
    Cc: Christian Gmeiner
    Cc: Stefan Roese
    Cc: Troy Kisky
    Cc: Nikita Kiryanov
    Cc: "Eric Bénard"
    Cc: Fabio Estevam
    Cc: Tim Harvey
    Cc: Marek Vasut
    Cc: Markus Niebel
    Cc: Otavio Salvador
    Acked-by: Stefan Roese
    Acked-by: Marek Vasut
    Acked-by: Christian Gmeiner
    Acked-by: Markus Niebel
    Acked-by: Troy Kisky
    Acked-by: Igor Grinberg

    Peng Fan
     

30 Dec, 2014

4 commits


20 Nov, 2014

2 commits


13 Nov, 2014

1 commit

  • This commit adds "select CPU_V7" for some new boards that were not
    covered by commit 2e07c249a67e
    (kconfig: arm: introduce symbol for ARM CPUs).

    Redundant "SYS_CPU" defines and "string" directives should be removed.

    Signed-off-by: Masahiro Yamada
    Acked-by: Stefan Roese
    Acked-by: Georges Savoundararadj

    Masahiro Yamada
     

03 Nov, 2014

1 commit


30 Oct, 2014

2 commits

  • This patch fixes conflict between PHY pins becoming outputs after reset and
    imx6 still driving the pins. It also fixes the reset timing as recommended by
    the PHY datasheet.

    Signed-off-by: Nikolay Dimitrov
    Cc: Stefano Babic
    Cc: Sean Cross
    Cc: Marek Vasut
    Reviewed-by: Fabio Estevam

    Nikolay Dimitrov
     
  • Add support for the Kosagi Novena board. Currently supported are:
    - I2C busses
    - FEC Ethernet
    - MMC0, MMC1, Booting from MMC
    - SATA
    - USB ports
    - USB Ethernet

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Sean Cross
    Cc: Nikolay Dimitrov
    Reviewed-by: Nikolay Dimitrov

    Marek Vasut