summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | imx6: wandboard: convert to DM_PMICAnatolij Gustschin2019-04-131-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: convert to DM_VIDEOAnatolij Gustschin2019-04-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Enable DM_VIDEO in defconfig. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * | | imx6: wandboard: convert to DM_USBAnatolij Gustschin2019-04-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop CONFIG_USB_MAX_CONTROLLER_COUNT and enable DM_USB in defconfig. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * | | imx6: ge_bx50v3: convert to DM_VIDEOAnatolij Gustschin2019-04-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Enable DM_VIDEO in defconfig. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * | | imx: move CONFIG_VIDEO_IPUV3 to defconfigsAnatolij Gustschin2019-04-1320-29/+0
| | | | | | | | | | | | | | | | Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * | | board: tbs2910: Convert mmc to driver modelSoeren Moch2019-04-131-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch <smoch@web.de>
| * | | board: tbs2910: Convert sata to ahci driver modelSoeren Moch2019-04-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | While at it, also configure 64-bit LBA support. Signed-off-by: Soeren Moch <smoch@web.de>
| * | | board: tbs2910: Convert i2c and rtc to driver modelSoeren Moch2019-04-131-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch <smoch@web.de>
| * | | board: tbs2910: Convert usb to driver modelSoeren Moch2019-04-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch <smoch@web.de>
| * | | colibri_imx6: switch to zimageBhuvanchandra DV2019-04-131-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. While at it also fix device tree naming for MMC DFU. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | configs: colibri_imx6: Use ext4 file system by defaultSanchayan Maity2019-04-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ext4 file system by default. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | colibri_imx6: add distroboot supportStefan Agner2019-04-131-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for distro boot. This is especially helpful for external devices. There is a global boot command which scans a predefined list of boot targets: run distro_bootcmd As well as direct boot commands such as: run bootcmd_mmc1 run bootcmd_usb run bootcmd_dhcp ... Refer to doc/README.distro fo details. While at it, remove the CONFIG_DRIVE_TYPES define which has not been used and was meant to be used for multi device boot support which is now provided by distroboot. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | colibri_imx6: drop CONFIG_OF_SYSTEM_SETUPMax Krummenacher2019-04-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't do anything anymore, probably never did. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | colibri_imx6: migrate i2c to using driver modelMarcel Ziswiler2019-04-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Migrate I2C to using driver model. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | colibri_imx6: remove obsolete USB_GADGET_MASS_STORAGE configurationMarcel Ziswiler2019-04-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove obsolete USB_GADGET_MASS_STORAGE configuration. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | colibri_imx6: move console in env from header file to defconfigMarcel Ziswiler2019-04-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move console in env from header file to defconfig. While at it also update copyright year. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | apalis_imx6: switch to zimageMarcel Ziswiler2019-04-131-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. While at it also fix device tree naming for MMC DFU. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | configs: apalis_imx6: Use ext4 file system by defaultSanchayan Maity2019-04-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ext4 file system by default. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | apalis_imx6: use both sd/mmc interfaces for setsdupdateMax Krummenacher2019-04-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During porting to 2016.11 the check of a SD (mmc2) interface was dropped, this was unintended. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | apalis_imx6: add distroboot supportMarcel Ziswiler2019-04-131-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for distro boot. This is especially helpful for external devices. There is a global boot command which scans a predefined list of boot targets: run distro_bootcmd As well as direct boot commands such as: run bootcmd_mmc1 run bootcmd_mmc2 run bootcmd_usb run bootcmd_dhcp ... Refer to doc/README.distro for details. While at it, remove the CONFIG_DRIVE_TYPES define which has not been used and was meant to be used for multi device boot support which is now provided by distroboot. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | apalis_imx6: drop CONFIG_OF_SYSTEM_SETUPMarcel Ziswiler2019-04-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't do anything anymore, probably never did. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | apalis_imx6: migrate mmc and sata to using driver modelMarcel Ziswiler2019-04-131-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate MMC and SATA to using driver model. While at it also enable SCSI driver model. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | apalis_imx6: migrate i2c to using driver modelMarcel Ziswiler2019-04-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Migrate I2C to using driver model. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | apalis_imx6: remove obsolete USB_GADGET_MASS_STORAGE configurationMarcel Ziswiler2019-04-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove obsolete USB_GADGET_MASS_STORAGE configuration. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
| * | | apalis_imx6: move console in env from header file to defconfigMarcel Ziswiler2019-04-131-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move console in env from header file to defconfig. While at it also update copyright year and remove spurious comments and new lines. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | mx53ppd: fix unsupported set commandIan Ray2019-04-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix the NFS commands which used `set' to instead use `setenv'. Signed-off-by: Ian Ray <ian.ray@ge.com>
| * | | board: ge: bx50v3: Network booting of fitImage with nfs rootfsJoonas Aijala2019-04-131-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | New boot command introduced to automate network booting. Signed-off-by: Joonas Aijala <joonas.aijala@ge.com> Signed-off-by: Ian Ray <ian.ray@ge.com>
| * | | board: ge: bx50v3: Specific ARP timeout removedJoonas Aijala2019-04-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specific ARP timeout sometimes causes ARP timeout during nfs loading of the fitImage. Signed-off-by: Joonas Aijala <joonas.aijala@ge.com> Signed-off-by: Ian Ray <ian.ray@ge.com>
| * | | board: ge: ppd: Enable CONFIG_DM_MMCIan Ray2019-04-131-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_DM_MMCIan Ray2019-04-131-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | config: bk4: Update u-boot envs to support NOR memories initial setupLukasz Majewski2019-04-131-0/+18
| | | | | | | | | | | | | | | | Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | | config: bk4: Update u-boot script to support recovery via SD cardLukasz Majewski2019-04-131-0/+31
| | | | | | | | | | | | | | | | Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | | config: bk4: Update include/configs/bk4r1.h fileLukasz Majewski2019-04-131-8/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The BK4's config file has changed since its initial posting to main line. This commit reflects those changes. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | | config: pcm052: Use SZ_X{MK} from linux/sizes.h for include/configs/pcm052.hLukasz Majewski2019-04-131-8/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
| * | | defconfig: bk4/pcm052: Update bk4r1|pcm052_defconfig to support DM/DTLukasz Majewski2019-04-131-34/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates BK4's and PCM052's config files to support as much as possible device tree and model in u-boot. Moreover, remove CONFIG_* from pcm052.h (as those are now in bk4|pcm052_defconfig) Signed-off-by: Lukasz Majewski <lukma@denx.de>
* | | | Merge tag 'efi-2019-07-rc1-2' of git://git.denx.de/u-boot-efiTom Rini2019-04-152-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | efi_loader: export efi_install_multiple_protocol_interfacesHeinrich Schuchardt2019-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Export function efi_install_multiple_protocol_interfaces() so that we can call it in others parts of the UEFI subsystem. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | | | efi: fix memory calculation overflow on 32-bit systemsPatrick Wildt2019-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are Cubox-i machines out there with nearly 4 GiB of RAM. The RAM starts at 0x10000000 with a size of 0xf0000000. Thus the end of RAM is at 0x100000000. This overflows a 32-bit integer, which should be fine since in the EFI memory code the variables used are all 64-bit with a fixed size. Unfortunately EFI_PAGE_MASK, which is used in the EFI memory code to remove the lower bits, is based on the EFI_PAGE_SIZE macro which, uses 1UL with a shift. This means the resulting mask is UL, which is only 32-bit on ARMv7. Use ULL to make sure that even on 32-bit platforms we use a 64-bit long mask. Without this there will be no memory available in the EFI memory map and bootefi will fail allocating pages. Signed-off-by: Patrick Wildt <patrick@blueri.se> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
* | | | | Merge tag 'video-for-2019.07-rc1' of git://git.denx.de/u-boot-videoTom Rini2019-04-152-1/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - optional backlight PWM polarity config via polarity cell - bug fix for ASCII characters > 127 - ANSI sequence handling extensions (implement clear line, reverse video and relative cursor movement commands) - preparation for doing character set translations - left/right and up/down arrow keys translation to ANSI control sequences for cursor movement to fix selection with an USB keyboard in bootmenu - CONFIG_SYS_WHITE_ON_BLACK font scheme configuration for sunxi boards
| * | | | sunxi: allow boards to de-select SYS_WHITE_ON_BLACK font schemeAndre Przywara2019-04-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the sunxi-common.h config header we unconditionally define CONFIG_SYS_WHITE_ON_BLACK, although it's actually a Kconfig option which could be individually selected by a user. Remove this #define from the header and let it default to "y" on sunxi boards (like we do for other platforms). Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * | | | video/console: Implement reverse video ANSI sequence for DM_VIDEOAndre Przywara2019-04-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The video console for DM_VIDEO compliant drivers only understands a very small number of ANSI sequences. First and foremost it misses the "reverse video" command, which is used by our own bootmenu command to highlight the selected entry. To avoid forcing people to use their imagination when using the bootmenu, let's just implement the rather simple reverse effect. We need to store the background colour index for that, so that we can recalculate both the foreground and background colour pixel values. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org> [agust: merged BG color escape seq change to fix "ut dm video_ansi" test] Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | | | | Merge branch 'master' of git://git.denx.de/u-boot-spiTom Rini2019-04-142-5/+6
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | dm: spi: Read default speed and mode values from DTPatrick Delaunay2019-04-121-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch update the behavior introduced by commit 96907c0fe50a ("dm: spi: Read default speed and mode values from DT") In case of DT boot, don't read default speed and mode for SPI from CONFIG_* but instead read from DT node. This will make sure that boards with multiple SPI/QSPI controllers can be probed at different bus frequencies and SPI modes. Remove also use in boards of the value speed=0 (no more supported) for ENV in SPI by using CONFIG_ENV_SPI_MAX_HZ=0. DT values will be always used when available (full DM support of SPI slave with available DT node) even if speed and mode are requested; for example in splash screen support (in splash_sf_read_raw) or in SPL boot (in spl_spi_load_image). The caller of spi_get_bus_and_cs() no more need to force speed=0. But the current behavior don't change if the SPI slave is not present (device with generic driver is created automatically) or if platdata is used (CONFIG_OF_PLATDATA). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Acked-by: Jagan Teki <jagan@amarulasolutions.com>
| * | | | mtd: fix mtd_oobavail() incoherent returned valueMiquel Raynal2019-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mtd_oobavail() returns either mtd->oovabail or mtd->oobsize. Both values are unsigned 32-bit entities, so there is no reason to pretend returning a signed one. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
* | | | | Merge tag 'pull-12apr19' of git://git.denx.de/u-boot-dmTom Rini2019-04-133-38/+169
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdtdec tests and improvements for carve-outs pinctrl race-condition fix various other fixes in sandbox, sound, mkimage, etc.
| * | | | | fdtdec: Implement carveout support functionsThierry Reding2019-04-111-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fdtdec_get_carveout() and fdtdec_set_carveout() function can be used to read a carveout from a given node or add a carveout to a given node using the standard device tree bindings (involving reserved-memory nodes and the memory-region property). Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
| * | | | | fdtdec: Implement fdtdec_add_reserved_memory()Thierry Reding2019-04-111-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function can be used to add subnodes in the /reserved-memory node. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
| * | | | | fdtdec: Implement fdtdec_set_phandle()Thierry Reding2019-04-111-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function can be used to set a phandle for a given node. Signed-off-by: Thierry Reding <treding@nvidia.com>
| * | | | | fdtdec: Add fdt_{addr, size}_unpack() helpersThierry Reding2019-04-111-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These helpers can be used to unpack variables of type fdt_addr_t and fdt_size_t into a pair of 32-bit variables. This is useful in cases where such variables need to be written to properties (such as "reg") of a device tree node where they need to be split into cells. Signed-off-by: Thierry Reding <treding@nvidia.com>
| * | | | | fdtdec: Add cpu_to_fdt_{addr, size}() macrosThierry Reding2019-04-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These macros are useful for converting the endianness of variables of type fdt_addr_t and fdt_size_t. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Thierry Reding <treding@nvidia.com>