summaryrefslogtreecommitdiff
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'u-boot-imx-20190415' of git://git.denx.de/u-boot-imxTom Rini2019-04-1532-66/+2923
|\ | | | | | | | | | | | | | | | | | | | | | | | | Move to DM ----------- - DM support in sata - Toradex Board to DM - wandboard to DM - tbs2910 to DM - GE boards to DM - VHybrid boards to DM - DM_VIDEO for i.MX
| * imx6: dts: add wandboard dtb target to fix build errorAnatolij Gustschin2019-04-131-0/+3
| | | | | | | | | | | | | | | | | | Fix broken build: Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=<device_tree>' argument Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * imx6: tbs2910: fix dtb build errorAnatolij Gustschin2019-04-131-0/+3
| | | | | | | | | | | | | | | | | | Fix broken build: Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=<device_tree>' argument Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * apalis/colibri_imx6: add device trees to makefileMarcel Ziswiler2019-04-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Add device trees to Makefile to avoid newly introduced error: Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=<device_tree>' argument make[1]: *** [dts/Makefile:28: arch/arm/dts/imx6-apalis.dtb] Error 1 make: *** [Makefile:1009: dts/dt.dtb] Error 2 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * arm: vf610: add uart2 clock/pinmux supportStefan Agner2019-04-132-1/+6
| | | | | | | | | | | | | | Add support for Vybrid's UART2 (Colibri UART_B). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * ARM: dts: colibri_vf: update device treesMarcel Ziswiler2019-04-134-2/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update device tree in preparation of further driver model migration: Ethernet FEC, ESDHC aka MMC/SD card, I2C, NFC aka NAND flash controller, USBH_PEN GPIO regulator. Add iomux resp. pinctrl entries to be removed from proprietary platform data: DSPI, ESDHC, FEC, I2C, NFC, UART, USBH_PEN GPIO. Introduce a U-Boot specific device tree with some required u-boot,dm-pre-reloc properties: soc, aips0, pinctrl_ddr and uart0 incl. pinctrl. While at it also update the MAINTAINERS file. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * imx: bootaux: add dependency on vf610Marcel Ziswiler2019-04-131-1/+1
| | | | | | | | | | | | | | Allow using bootaux also on VF610 aka Vybrid. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
| * vf610: ddrmc: add missing includeMarcel Ziswiler2019-04-131-0/+2
| | | | | | | | | | | | | | | | The DDR memory controller include file for the Vybrid uses iomux_v3_cfg_t without actually including iomux-vf610.h. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
| * imx6: wandboard: convert to DM_PMICAnatolij Gustschin2019-04-131-0/+101
| | | | | | | | | | | | | | Enable DM_PMIC_PFUZE100 driver and add PMIC description to DTS. Rework power_init_board() code. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * imx6: wandboard: add device treeAnatolij Gustschin2019-04-133-0/+338
| | | | | | | | | | | | | | Add device trees from Linux in preparation for driver model conversions. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * imx6: dts: add 'u-boot, dm-pre-reloc' to soc and ipu nodesAnatolij Gustschin2019-04-131-0/+2
| | | | | | | | | | | | | | u-boot,dm-pre-reloc is required for reserving video memory when binding DM_VIDEO driver. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * video: ipuv3: add DM_VIDEO supportAnatolij Gustschin2019-04-132-7/+19
| | | | | | | | | | | | | | | | Extend the driver to build with DM_VIDEO enabled. DTS files must additionally include 'u-boot,dm-pre-reloc' property in soc and ipu nodes to enable driver binding to ipu device. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * board: tbs2910: Add device treeSoeren Moch2019-04-131-0/+394
| | | | | | | | | | | | | | | | | | | | ... as preparation for additional driver model coonversions. We use CONFIG_OF_EMBED here to keep u-boot.imx as final binary name. So we maintain compatibility with the original TBS u-boot and available HOWTOs for u-boot updates. Signed-off-by: Soeren Moch <smoch@web.de>
| * colibri_imx6: migrate to using device treeMarcel Ziswiler2019-04-131-0/+411
| | | | | | | | | | | | | | Migrate to using device tree required for further driver model integration. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * apalis_imx6: migrate to using device treeMarcel Ziswiler2019-04-132-0/+731
| | | | | | | | | | | | | | Migrate to using device tree required for further driver model integration. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * board: ge: ppd: Enable CONFIG_DM_MMCIan Ray2019-04-131-0/+29
| | | | | | | | | | | | | | Use MMC device model, and remove USDHC pin configuration code since the pinctrl driver is used. Signed-off-by: Ian Ray <ian.ray@ge.com>
| * arm: imx: Add esdhc3/4 nodes to imx53.dtsiIan Ray2019-04-131-0/+26
| | | | | | | | | | | | | | These nodes are required by mx53ppd when built with CONFIG_DM_MMC=y. They are copied from Linux 4.20.5. Signed-off-by: Ian Ray <ian.ray@ge.com>
| * board: ge: ppd: Enable CONFIG_DMIan Ray2019-04-132-0/+15
| | | | | | | | | | | | Add simplified, generalised, ppd device tree and enable CONFIG_DM. Signed-off-by: Ian Ray <ian.ray@ge.com>
| * board: ge: bx50v3: Enable CONFIG_DM_SPI, CONFIG_DM_SPI_FLASHIan Ray2019-04-131-0/+27
| | | | | | | | | | | | | | Use SPI flash device model, and remove SPI pin configuration code since the pinctrl driver is used. Signed-off-by: Ian Ray <ian.ray@ge.com>
| * board: ge: bx50v3: Enable CONFIG_DM_MMCIan Ray2019-04-131-0/+47
| | | | | | | | | | | | | | Use MMC device model, and remove USDHC pin configuration code since the pinctrl driver is used. Signed-off-by: Ian Ray <ian.ray@ge.com>
| * board: ge: bx50v3: Enable CONFIG_DMIan Ray2019-04-132-0/+17
| | | | | | | | | | | | Add simplified, generalised, bx50v3 device tree and enable CONFIG_DM. Signed-off-by: Ian Ray <ian.ray@ge.com>
| * pcm052: bk4: sdcard: Add support for SD card booting/recoveryLukasz Majewski2019-04-132-0/+3
| | | | | | | | | | | | | | This code allows reusing the default u-boot as in the late board init, the default envs are restored and proper recovery scripts executed. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * ARM: DTS: Provide vf610-bk4r1-u-boot.dtsi for U-Boot specific propertiesLukasz Majewski2019-04-131-0/+27
| | | | | | | | | | | | | | | | | | | | | | This commit brings a separate file in which the U-Boot specific properties (like 'dm-pre-reloc') are provided. Such approach allows easy sync with upstream Linux kernel in the future. Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
| * ARM: DTS: Update pcm052 based dts files (bk4r1/pcm052)Lukasz Majewski2019-04-135-54/+359
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit provides update and renames the bk4r1.dts to vf610-bk4r1.dts file with more on SoC HW description. The pcm052.dts has been renamed to vf610-pcm052.dts as well. Moreover, a new vf610-pcm052.drsi file has been introduced to reuse the common code between devices based on Phytec's pcm052 modules. Ported from Linux kernel - v4.20 (tag) Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * ARM: DTS: vybrid: Update vf.dtsi file to descibe more vf610 hardwareLukasz Majewski2019-04-131-0/+62
| | | | | | | | | | | | | | | | | | This patch allows moving vf610 based boards to a device tree and model. Ported from Linux kernel - v4.20 (tag) Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Stefan Agner <stefan.agner@toradex.com> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * vybrid: Define the imx_get_mac_from_fuse() as a __weak functionLukasz Majewski2019-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | The proposed way of reading fused MAC in the imx_get_mac_from_fuse() may be different for other boards. This commit defines the imx_get_mac_from_fuse() as a weak function to allow board file overriding it with customized function. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * vybrid: clock: Provide enable_i2c_clk() function for VybridLukasz Majewski2019-04-132-0/+25
| | | | | | | | | | | | | | | | | | Provide function to enable I2C clocks for vf610 - in the generic code. This function overrides the default weak function implementation (which only returns 1). Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * vybrid: ddr: Extend vf610-pinfunc.h with DDR pads definitionsLukasz Majewski2019-04-131-0/+50
| | | | | | | | | | | | | | This patch provides definitions necessary for VF610 DDR pad configurations. Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Stefan Agner <stefan.agner@toradex.com>
* | Merge tag 'efi-2019-07-rc1-2' of git://git.denx.de/u-boot-efiTom Rini2019-04-151-0/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull request for UEFI sub-system for v2019.07-rc1 (2) In the aarch64 crash dump information about the loaded EFI images is added. In README.uefi the development target is for the UEFI subsystem is described as "Embedded Base Boot Requirements (EBBR) Specification" compliance. Several bug fixes are supplied.
| * | arm: print information about loaded UEFI imagesHeinrich Schuchardt2019-04-121-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an exception occurs in a UEFI loaded image we need the start address of the image to determine the relocation offset. This patch adds the necessary lines after the registers in the crash dump for armv8. A possible output would be: UEFI image [0x00000000bffe6000:0x00000000bffe631f] pc=0x138 '/\snp.efi' With the offset 0x138 we can now find the relevant instruction in the disassembled 'snp.efi' binary. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* | | Merge branch 'master' of git://git.denx.de/u-boot-spiTom Rini2019-04-14127-158/+158
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/dts/armada-385-amc.dts arch/arm/dts/armada-xp-theadorable.dts arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi Signed-off-by: Tom Rini <trini@konsulko.com>
| * | | x86: dts: switch spi-flash to jedec, spi-nor compatibleNeil Armstrong2019-04-1212-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The x86 code and DT uses "spi-flash" to detect a flash node, switch to "jedec,spi-nor" in the DTS files and in fdtdec by switching the GENERIC_SPI_FLASH value to to jedec,spi-nor. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
| * | | dts: switch spi-flash to jedec, spi-nor compatibleNeil Armstrong2019-04-12116-147/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no reason not to use the Linux "jedec,spi-nor" binding in U-Boot dts files. This compatible has been added in sf_probe, let use it. This patch switches to jedec,spi-nor when spi-flash is used in the DTS and DTSI files, and removed spi-flash when jedec,spi-nor is already present. The x86 dts are switched in a separate commit since it depends on a change in fdtdec. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Evgeniy Paltsev <paltsev@synopsys.com> Reviewed-by: Rick Chen <rick@andestech.com> Reviewed-by: Patrick Delaunay <Patrick.delaunay@st.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
* | | | Merge tag 'pull-12apr19' of git://git.denx.de/u-boot-dmTom Rini2019-04-134-10/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | fdtdec tests and improvements for carve-outs pinctrl race-condition fix various other fixes in sandbox, sound, mkimage, etc.
| * | | | dm: sound: make all functions static inlineChristian Gmeiner2019-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes following compile problem: ➜ u-boot-mainline git:(master) ✗ make sandbox_defconfig all NO_SDL=1 scripts/kconfig/conf --syncconfig Kconfig CHK include/config.h CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep CHK include/config/uboot.release CHK include/generated/version_autogenerated.h CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h CHK include/generated/generic-asm-offsets.h HOSTCC tools/mkenvimage.o HOSTLD tools/mkenvimage HOSTCC tools/fit_image.o HOSTCC tools/image-host.o HOSTCC tools/dumpimage.o HOSTLD tools/dumpimage HOSTCC tools/mkimage.o HOSTLD tools/mkimage HOSTLD tools/fit_info HOSTLD tools/fit_check_sign CC cmd/version.o GZIP cmd/config_data.gz CHK cmd/config_data_gz.h CHK cmd/config_data_size.h CHK cmd/license_data_gz.h CHK cmd/license_data_size.h LD cmd/built-in.o CC common/main.o LD common/built-in.o CC drivers/fastboot/fb_getvar.o LD drivers/fastboot/built-in.o LD drivers/video/built-in.o ld.bfd: drivers/video/sandbox_sdl.o: in function `sandbox_sdl_sound_play': /home/christian/projects/u-boot-mainline/./arch/sandbox/include/asm/sdl.h:110: multiple definition of `sandbox_sdl_sound_play'; drivers/video/video-uclass.o:/home/christian/projects/u-boot-mainline/./arch/sandbox/include/asm/sdl.h:110: first defined here ld.bfd: drivers/video/sandbox_sdl.o: in function `sandbox_sdl_sound_init': /home/christian/projects/u-boot-mainline/./arch/sandbox/include/asm/sdl.h:120: multiple definition of `sandbox_sdl_sound_init'; drivers/video/video-uclass.o:/home/christian/projects/u-boot-mainline/./arch/sandbox/include/asm/sdl.h:120: first defined here make[3]: *** [scripts/Makefile.build:355: drivers/video/built-in.o] Fehler 1 make[2]: *** [scripts/Makefile.build:432: drivers/video] Fehler 2 make[1]: *** [Makefile:1531: drivers] Fehler 2 make: *** [Makefile:485: __build_one_by_one] Fehler 2 Fixes: f2b25c9bf82 ("dm: sound: Complete migration to driver model") Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
| * | | | sandbox: Properly print physical addressesThierry Reding2019-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the %pap printf specifier to print physical addresses. The physical address is passed by reference and hence avoids the need to play tricks with the preprocessor to use the correct specifier. Signed-off-by: Thierry Reding <treding@nvidia.com>
| * | | | sandbox: Use correct phys_{addr, size}_t for PHYS_64BIT=yThierry Reding2019-04-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If 64-bit physical addresses support is enabled, make sure the sandox defines the correct types for phys_addr_t and phys_size_t. Signed-off-by: Thierry Reding <treding@nvidia.com>
| * | | | syscon: update syscon_regmap_lookup_by_phandlePatrick Delaunay2019-04-111-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the function syscon_regmap_lookup_by_phandle() introduced by commit 6c3af1f24e4b ("syscon: dm: Add a new method to get a regmap from DTS") to have Linux-compatible syscon API. Same modification than commit e151a1c288bd ("syscon: add Linux-compatible syscon API") solves issue when the node identified by the phandle has several compatibles and is already bound to a dedicated driver. See Linux commit bdb0066df96e ("mfd: syscon: Decouple syscon interface from platform devices"). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* | | | Merge tag 'mips-pull-2019-04-12' of git://git.denx.de/u-boot-mipsTom Rini2019-04-1332-25/+2441
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | - mt76xx: add USB support, small fixes - ath79: small fixes, add support for QCA9563 SoC and AP152 reference board - mscc: small fixes, add network support for JR2 and ServalT SoCs - bmips: small fixes, enable more drivers for ARM specific BCM6858 and BCM63158 SoCs - MIPS: fix redundant relocation of initrd images
| * | | net: mscc: servalt: Add ethernet nodes for ServalTHoratiu Vultur2019-04-122-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ethernet nodes for ServalT SoCs family. Currently there is only one pcb(pcb116) in this family. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
| * | | net: Add MSCC ServalT network driver.Horatiu Vultur2019-04-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add network driver for Microsemi Ethernet switch. It is present on ServalT SoCs. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * | | net: mscc: jaguar2: Add ethenet nodes for Jaguar2.Horatiu Vultur2019-04-124-0/+636
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ethernet nodes for Jaguar2 SoCs family. There are 3 pcb in this family: pcb110, pcb111 and pcb112. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
| * | | dt: bcm963158: enable gpio controllerPhilippe Reynes2019-04-121-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable all the gpio controllers in the device tree of the board bcm963158. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
| * | | dt: bcm63158: add gpio controllerPhilippe Reynes2019-04-121-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | Add 8 gpio controllers in the bcm63158 device tree. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
| * | | gpio: do not include <asm/arch/gpio.h> on ARCH_BCM63158Philippe Reynes2019-04-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As no gpio.h is defined for this architecture, to avoid a compilation failure, do not include <asm/arch/gpio.h> for arch bcm63158. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
| * | | dt: bcm968580xref: enable gpio controllerPhilippe Reynes2019-04-121-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable all the gpio controllers in the device tree of the board bcm968580xref. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
| * | | dt: bcm6858: add gpio controllerPhilippe Reynes2019-04-121-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | Add 8 gpio controllers in the bcm6858 device tree. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
| * | | gpio: do not include <asm/arch/gpio.h> on ARCH_BCM6858Philippe Reynes2019-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As no gpio.h is defined for this architecture, to avoid compilation failure, do not include <asm/arch/gpio.h> for arch bcm6858. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
| * | | dt: bcm968380gerg: enable gpio controllerPhilippe Reynes2019-04-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the gpio controllers in the device tree of the board bcm968380gerg. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * | | dt: bcm6838: add gpio controllerPhilippe Reynes2019-04-121-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add gpio controllers in bcm6838 device tree. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>