05 Mar, 2018

1 commit

  • Thomas reported U-Boot failed to build host tools if libfdt-devel
    package is installed because tools include libfdt headers from
    /usr/include/ instead of using internal ones.

    This commit moves the header code:
    include/libfdt.h -> include/linux/libfdt.h
    include/libfdt_env.h -> include/linux/libfdt_env.h

    and replaces include directives:
    #include -> #include
    #include -> #include

    Reported-by: Thomas Petazzoni
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

12 Jan, 2018

1 commit


12 Oct, 2017

3 commits


20 Sep, 2017

1 commit


18 Sep, 2017

1 commit


15 Sep, 2017

1 commit

  • All these places seem to inherit the codes from the MMC driver where
    a FIXME was put in the comment. However the correct operation after
    read should be cache invalidate, not flush.

    The underlying drivers should be responsible for the cache operation.
    Remove these codes completely.

    Signed-off-by: Bin Meng
    Reviewed-by: Stefan Roese
    Reviewed-by: York Sun
    Reviewed-by: Joe Hershberger
    Reviewed-by: Simon Glass
    Tested-by: York Sun

    Bin Meng
     

28 Aug, 2017

1 commit


23 Aug, 2017

1 commit


17 Aug, 2017

1 commit


16 Aug, 2017

6 commits


29 Jul, 2017

1 commit

  • Convert this PMIC driver to driver model and fix up other users. The
    regulator and GPIO functions are now handled by separate drivers.

    Update nyan-big to work correct. Three boards will need to be updated by
    the maintainers: apalis-tk1, cei-tk1-som. Also the TODO in the code re
    as3722_sd_set_voltage() needs to be completed.

    Signed-off-by: Simon Glass
    Reviewed-by: Lukasz Majewski
    Tested-by: Marcel Ziswiler
    Tested-on: Jetson-TK1
    Tested-by: Stephen Warren

    Simon Glass
     

18 Jul, 2017

1 commit


12 Jul, 2017

3 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
     
  • As part of preparation for nand DM conversion the new API has been
    introduced to remove direct access to nand_info array. So, use it here
    instead of accessing to nand_info array directly.

    Reviewed-by: Marcel Ziswiler
    Signed-off-by: Grygorii Strashko

    Grygorii Strashko
     
  • 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
     

05 Jun, 2017

2 commits


01 Jun, 2017

2 commits


12 May, 2017

2 commits


14 Apr, 2017

1 commit


02 Apr, 2017

1 commit

  • This patch adds board support for the Toradex Apalis TK1 a computer on
    module which can be used on different carrier boards.

    The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3L
    RAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensor
    chip, an I210 gigabit Ethernet controller and a SGTL5000 audio codec.
    Furthermore, there is a Kinetis MK20DN512 companion micro controller for
    analogue, CAN and resistive touch functionality.

    For the sake of ease of use we do not distinguish between different
    carrier boards for now as the base module features are deemed
    sufficient enough for regular booting.

    The following functionality is working so far:
    - eMMC boot, environment storage and Toradex factory config block
    - Gigabit Ethernet
    - MMC/SD cards (both MMC1 as well as SD1 slot)
    - USB client/host (dual role OTG port as client e.g. for DFU/UMS or host,
    other two ports as host)

    Signed-off-by: Marcel Ziswiler
    Reviewed-by: Simon Glass
    Signed-off-by: Marcel Ziswiler
    Signed-off-by: Tom Warren

    Marcel Ziswiler
     

20 Mar, 2017

4 commits


11 Jan, 2017

1 commit

  • Move (and rename) the following CONFIG options to Kconfig:

    CONFIG_DAVINCI_MMC (renamed to CONFIG_MMC_DAVINCI)
    CONFIG_OMAP_HSMMC (renamed to CONFIG_MMC_OMAP_HS)
    CONFIG_MXC_MMC (renamed to CONFIG_MMC_MXC)
    CONFIG_MXS_MMC (renamed to CONFIG_MMC_MXS)
    CONFIG_TEGRA_MMC (renamed to CONFIG_MMC_SDHCI_TEGRA)
    CONFIG_SUNXI_MMC (renamed to CONFIG_MMC_SUNXI)

    They are the same option names as used in Linux.

    This commit was created as follows:

    [1] Rename the options with the following command:

    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e '
    s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g
    s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g
    s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g
    s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g
    s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g
    s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g
    '

    [2] Commit the changes

    [3] Create entries in driver/mmc/Kconfig.
    (copied from Linux)

    [4] Move the options with the following command
    tools/moveconfig.py -y -r HEAD \
    MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI

    [5] Sort and align drivers/mmc/Makefile for readability

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Marek Vasut

    Masahiro Yamada
     

16 Dec, 2016

5 commits

  • This adds board support for the Toradex module family Colibri iMX6.
    The familiy consists of a module with i.MX6 DualLite, i.MX6 Solo, both
    with a version for commercial and industrial temperature range.

    Signed-off-by: Max Krummenacher

    Max Krummenacher
     
  • This adds board support for the Toradex module family Apalis iMX6.
    The familiy consists of a module with i.MX6 Dual, i.MX6 Quad with
    commercial and industrial temperature range.

    Signed-off-by: Max Krummenacher

    Max Krummenacher
     
  • Currently a divider of 6 has been used, leading to following NAND
    Flash Controller (NFC) clocks:
    VF61: 27.7 MHz (166.7MHz bus clock)
    VF50: 22 MHz (132MHz bus clock)

    The NAND Flash Memory used on VF50 allows to use clock speed of
    up to 33MHz, while the Flash Memory of VF61 allows 50MHz. We can
    use the same divider of 4 on both modules to configure the maximal
    possible clock speeds:
    VF61: 41.7 MHz
    VF50: 33 MHz

    Signed-off-by: Stefan Agner

    Stefan Agner
     
  • Use the same preprocessor define to enable clocks as we use to
    enable the driver. Make sure that the necessary PLL's are on
    (they get enabled by boot ROM by default, so this is more for
    completness).

    Signed-off-by: Stefan Agner

    Stefan Agner
     
  • Use device-tree fixup to communicate the MTD partitions to the
    kernel. U-Boot's mtdparts environment variable will be used as
    partition source for the device-tree based partition table too.

    Signed-off-by: Stefan Agner

    Stefan Agner