UPSTREAM: toradex: imx6: Move g_dnl_bind_fixup() into common SPL codeInstead of having every board file to add its own g_dnl_bind_fixup()implementation, move it to the common imx6 SPL code.Chang
UPSTREAM: toradex: imx6: Move g_dnl_bind_fixup() into common SPL codeInstead of having every board file to add its own g_dnl_bind_fixup()implementation, move it to the common imx6 SPL code.Change-Id: Id8ee1026cbd8cde4b0711829373f99ba58a6363bSigned-off-by: Fabio Estevam <fabio.estevam@nxp.com>Reviewed-by: Łukasz Majewski <lukma@denx.de>Signed-off-by: Frank Wang <frank.wang@rock-chips.com>(cherry picked from commit 511db3bf5a27a2f7eca0f60b6adb1eff74bd6df6)
show more ...
UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage is installed because tools include libfdt header
UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage 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.hand replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h>Change-Id: I6c0f7e50e8b571106627f25ddac008a62bd2994eReported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
UPSTREAM: blk: Remove various places that do flush cache after readAll these places seem to inherit the codes from the MMC driver wherea FIXME was put in the comment. However the correct operation
UPSTREAM: blk: Remove various places that do flush cache after readAll these places seem to inherit the codes from the MMC driver wherea FIXME was put in the comment. However the correct operation afterread should be cache invalidate, not flush.The underlying drivers should be responsible for the cache operation.Remove these codes completely.Change-Id: I8f04c721432753b34e85b19616a0b42d83a633ebSigned-off-by: Bin Meng <bmeng.cn@gmail.com>Reviewed-by: Stefan Roese <sr@denx.de>Reviewed-by: York Sun <york.sun@nxp.com>Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>Reviewed-by: Simon Glass <sjg@chromium.org>Tested-by: York Sun <york.sun@nxp.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>(cherry picked from commit 723b43daec7ee2ddb600cfcb9b0253d4a71c3915)
imx: imx6: Move gpr_init() function to soc.cSince the gpr_init() function is common for boards using MX6S, MX6DL, MX6D,MX6Q and MX6QP processors move it to the soc.c file.Signed-off-by: Breno Li
imx: imx6: Move gpr_init() function to soc.cSince the gpr_init() function is common for boards using MX6S, MX6DL, MX6D,MX6Q and MX6QP processors move it to the soc.c file.Signed-off-by: Breno Lima <breno.lima@nxp.com>Acked-by: Stefano Babic <sbabic@denx.de>Reviewed-by: Lukasz Majewski <lukma@denx.de>Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
apalis/colibri_imx6: use independent USB PID for SPLUse a completely independent USB Product ID for SPL. This allowsto differentiate a SDP running in SPL and SDP running in a U-Bootwhich could no
apalis/colibri_imx6: use independent USB PID for SPLUse a completely independent USB Product ID for SPL. This allowsto differentiate a SDP running in SPL and SDP running in a U-Bootwhich could not read the config block successfully.Signed-off-by: Stefan Agner <stefan.agner@toradex.com>Acked-by: Max Krummenacher <max.krummenacher@toradex.com>Reviewed-by: Łukasz Majewski <lukma@denx.de>
Merge git://git.denx.de/u-boot-tegra
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()Rename this function for consistency with env_get().Signed-off-by: Simon Glass <sjg@chromium.org>
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few place
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking awarning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr()Rename this function for consistency with env_set().Signed-off-by: Simon Glass <sjg@chromium.org>
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
env: Drop saveenv() in favour of env_save()Use the env_save() function directly now that there is only oneimplementation of saveenv().Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: W
env: Drop saveenv() in favour of env_save()Use the env_save() function directly now that there is only oneimplementation of saveenv().Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Wolfgang Denk <wd@denx.de>Reviewed-by: Tom Rini <trini@konsulko.com>
apalis_t30: fix usb otg power enableFix USB OTG power enable aka USBO1_EN which on Apalis T30 is connectedto the T30 ball GEN2_I2C_SCL.Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com
apalis_t30: fix usb otg power enableFix USB OTG power enable aka USBO1_EN which on Apalis T30 is connectedto the T30 ball GEN2_I2C_SCL.Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>Reviewed-by: Simon Glass <sjg@chromium.org>Signed-off-by: Tom Warren <twarren@nvidia.com>
dm: power: Convert as3722 to driver modelConvert this PMIC driver to driver model and fix up other users. Theregulator and GPIO functions are now handled by separate drivers.Update nyan-big to w
dm: power: Convert as3722 to driver modelConvert this PMIC driver to driver model and fix up other users. Theregulator and GPIO functions are now handled by separate drivers.Update nyan-big to work correct. Three boards will need to be updated bythe maintainers: apalis-tk1, cei-tk1-som. Also the TODO in the code reas3722_sd_set_voltage() needs to be completed.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Lukasz Majewski <lukma@denx.de>Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>Tested-on: Jetson-TK1Tested-by: Stephen Warren <swarren@nvidia.com>
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
imx: reorganize IMX code as other SOCsChange is consistent with other SOCs and it is in preparationfor adding SOMs. SOC's related files are moved from cpu/ tomach-imx/<SOC>.This change is also
imx: reorganize IMX code as other SOCsChange is consistent with other SOCs and it is in preparationfor adding SOMs. SOC's related files are moved from cpu/ tomach-imx/<SOC>.This change is also coherent with the structure in kernel.Signed-off-by: Stefano Babic <sbabic@denx.de>CC: Fabio Estevam <fabio.estevam@nxp.com>CC: Akshay Bhat <akshaybhat@timesys.com>CC: Ken Lin <Ken.Lin@advantech.com.tw>CC: Marek Vasut <marek.vasut@gmail.com>CC: Heiko Schocher <hs@denx.de>CC: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>CC: Christian Gmeiner <christian.gmeiner@gmail.com>CC: Stefan Roese <sr@denx.de>CC: Patrick Bruenn <p.bruenn@beckhoff.com>CC: Troy Kisky <troy.kisky@boundarydevices.com>CC: Nikita Kiryanov <nikita@compulab.co.il>CC: Otavio Salvador <otavio@ossystems.com.br>CC: "Eric Bénard" <eric@eukrea.com>CC: Jagan Teki <jagan@amarulasolutions.com>CC: Ye Li <ye.li@nxp.com>CC: Peng Fan <peng.fan@nxp.com>CC: Adrian Alonso <adrian.alonso@nxp.com>CC: Alison Wang <b18965@freescale.com>CC: Tim Harvey <tharvey@gateworks.com>CC: Martin Donnelly <martin.donnelly@ge.com>CC: Marcin Niestroj <m.niestroj@grinn-global.com>CC: Lukasz Majewski <lukma@denx.de>CC: Adam Ford <aford173@gmail.com>CC: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr>CC: Boris Brezillon <boris.brezillon@free-electrons.com>CC: Soeren Moch <smoch@web.de>CC: Richard Hu <richard.hu@technexion.com>CC: Wig Cheng <wig.cheng@technexion.com>CC: Vanessa Maegima <vanessa.maegima@nxp.com>CC: Max Krummenacher <max.krummenacher@toradex.com>CC: Stefan Agner <stefan.agner@toradex.com>CC: Markus Niebel <Markus.Niebel@tq-group.com>CC: Breno Lima <breno.lima@nxp.com>CC: Francesco Montefoschi <francesco.montefoschi@udoo.org>CC: Jaehoon Chung <jh80.chung@samsung.com>CC: Scott Wood <oss@buserror.net>CC: Joe Hershberger <joe.hershberger@ni.com>CC: Anatolij Gustschin <agust@denx.de>CC: Simon Glass <sjg@chromium.org>CC: "Andrew F. Davis" <afd@ti.com>CC: "Łukasz Majewski" <l.majewski@samsung.com>CC: Patrice Chotard <patrice.chotard@st.com>CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>CC: Hans de Goede <hdegoede@redhat.com>CC: Masahiro Yamada <yamada.masahiro@socionext.com>CC: Stephen Warren <swarren@nvidia.com>CC: Andre Przywara <andre.przywara@arm.com>CC: "Álvaro Fernández Rojas" <noltari@gmail.com>CC: York Sun <york.sun@nxp.com>CC: Xiaoliang Yang <xiaoliang.yang@nxp.com>CC: Chen-Yu Tsai <wens@csie.org>CC: George McCollister <george.mccollister@gmail.com>CC: Sven Ebenfeld <sven.ebenfeld@gmail.com>CC: Filip Brozovic <fbrozovic@gmail.com>CC: Petr Kulhavy <brain@jikos.cz>CC: Eric Nelson <eric@nelint.com>CC: Bai Ping <ping.bai@nxp.com>CC: Anson Huang <Anson.Huang@nxp.com>CC: Sanchayan Maity <maitysanchayan@gmail.com>CC: Lokesh Vutla <lokeshvutla@ti.com>CC: Patrick Delaunay <patrick.delaunay@st.com>CC: Gary Bisson <gary.bisson@boundarydevices.com>CC: Alexander Graf <agraf@suse.de>CC: u-boot@lists.denx.deReviewed-by: Fabio Estevam <fabio.estevam@nxp.com>Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
board: toradex: use get_nand_dev_by_index()As part of preparation for nand DM conversion the new API has beenintroduced to remove direct access to nand_info array. So, use it hereinstead of acces
board: toradex: use get_nand_dev_by_index()As part of preparation for nand DM conversion the new API has beenintroduced to remove direct access to nand_info array. So, use it hereinstead of accessing to nand_info array directly.Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Kconfig: Add CONFIG_SATA to enable SATAAt present CONFIG_CMD_SATA enables the 'sata' command which also bringsin SATA support. Some boards may wish to enable SATA without the command.Add a separa
Kconfig: Add CONFIG_SATA to enable SATAAt present CONFIG_CMD_SATA enables the 'sata' command which also bringsin SATA support. Some boards may wish to enable SATA without the command.Add a separate CONFIG to permit this.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arm: Include asm/setup.h explictlyInclude this header where needed so we do not need to rely on common.h.Signed-off-by: Simon Glass <sjg@chromium.org>
arm: Add explicit include of <asm/mach-types.h>Rather than relying on common.h to provide this include, which is goingaway at some point, include it explicitly in each file.Signed-off-by: Simon
arm: Add explicit include of <asm/mach-types.h>Rather than relying on common.h to provide this include, which is goingaway at some point, include it explicitly in each file.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Tom Rini <trini@konsulko.com>
tegra: Convert MMC to use driver model for operationsEnable CONFIG_DM_MMC_OPS and CONFIG_BLK for all Tegra devices. This movesTegra to use driver model fully for MMC.Signed-off-by: Simon Glass <
tegra: Convert MMC to use driver model for operationsEnable CONFIG_DM_MMC_OPS and CONFIG_BLK for all Tegra devices. This movesTegra to use driver model fully for MMC.Signed-off-by: Simon Glass <sjg@chromium.org>
dm: Use dm.h header when driver mode is usedThis header includes things that are needed to make driver build. Adjustexisting users to include that always, even if other dm/ includes arepresentS
dm: Use dm.h header when driver mode is usedThis header includes things that are needed to make driver build. Adjustexisting users to include that always, even if other dm/ includes arepresentSigned-off-by: Simon Glass <sjg@chromium.org>
colibri_imx7: Fix unused variable warningThe variable usdhc3_emmc_pads is never referenced, drop.Cc: Stefan Agner <stefan.agner@toradex.com>Signed-off-by: Tom Rini <trini@konsulko.com>
apalis_imx6: Fix unused variable warningThe variable vga_pads is never referenced, drop.Cc: Max Krummenacher <max.krummenacher@toradex.com>Signed-off-by: Tom Rini <trini@konsulko.com>Acked-by:
apalis_imx6: Fix unused variable warningThe variable vga_pads is never referenced, drop.Cc: Max Krummenacher <max.krummenacher@toradex.com>Signed-off-by: Tom Rini <trini@konsulko.com>Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
board: toradex: colibri_vf: Add DCU support for Colibri VybridThe Vybrid SoC family has the same display controller unit (DCU)like the LS1021A SoC. This patch adds platform data, pinmux definesan
board: toradex: colibri_vf: Add DCU support for Colibri VybridThe Vybrid SoC family has the same display controller unit (DCU)like the LS1021A SoC. This patch adds platform data, pinmux definesand clock control to enable the driver for Toradex Colibri Vybridmodule.Signed-off-by: Stefan Agner <stefan.agner@toradex.com>Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>Reviewed-by: Stefano Babic <sbabic@denx.de>
arm: tegra: initial support for apalis tk1This patch adds board support for the Toradex Apalis TK1 a computer onmodule which can be used on different carrier boards.The module consists of a Tegr
arm: tegra: initial support for apalis tk1This patch adds board support for the Toradex Apalis TK1 a computer onmodule which can be used on different carrier boards.The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3LRAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensorchip, an I210 gigabit Ethernet controller and a SGTL5000 audio codec.Furthermore, there is a Kinetis MK20DN512 companion micro controller foranalogue, CAN and resistive touch functionality.For the sake of ease of use we do not distinguish between differentcarrier boards for now as the base module features are deemedsufficient 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 <marcel.ziswiler@toradex.com>Reviewed-by: Simon Glass <sjg@chromium.org>Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>Signed-off-by: Tom Warren <twarren@nvidia.com>
1234