summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* ARM: omap3: evm: Sync with omap3_beagle configurationDerald D. Woods2018-03-131-30/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit does the following for OMAP3 EVM: - Track omap3_beagle changes where possible - Remove CONFIG_SYS_MPUCLK and CONFIG_MTD which are not needed for the default board configuration to work. - Remove CONFIG_SPL_SYS_MALLOC_SIMPLE and CONFIG_SYS_MALLOC_F_LEN from default config. CONFIG_SYS_MALLOC_F_LEN=0x400 is set by configuration automatically. [allows board to boot with SERIAL_SEARCH_ALL=y] - Use updated NAND layout: device nand0 <omap2-nand.0>, # parts = 6 #: name size offset ------------------------------------------------- 0: spl 0x00080000(512k) 0x00000000 1: u-boot 0x001e0000(1920k) 0x00080000 2: u-boot-env 0x00020000(128k) 0x00260000 3: dtb 0x00020000(128k) 0x00280000 4: kernel 0x00600000(6m) 0x002a0000 5: rootfs 0x0f760000(-) 0x008a0000 ------------------------------------------------- Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
* ARM: omap3: beagle: Enable DM_SERIAL, update distro usage and NAND layoutDerald D. Woods2018-03-131-107/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit does the following for BeagleBoard{-xM}: - Enable DM_SERIAL which also enables SPL_DM_SERIAL - Misc. config updates in support of DM_SERIAL - Use updated NAND layout (BeagleBoard): device nand0 <omap2-nand.0>, # parts = 6 #: name size offset ------------------------------------------------- 0: spl 0x00080000(512k) 0x00000000 1: u-boot 0x001e0000(1920k) 0x00080000 2: u-boot-env 0x00020000(128k) 0x00260000 3: dtb 0x00020000(128k) 0x00280000 4: kernel 0x00600000(6m) 0x002a0000 5: rootfs 0x0f760000(-) 0x008a0000 ------------------------------------------------- - Use MMC and UBIFS support from config_distro_bootcmd.h - Use LEGACY_MMC and NAND support defined in omap3_beagle.h [MMC(0:1)/extlinux/extlinux.conf] ---8<------------------------------------------------------------------- default omap3-beagle-mmc-fat label omap3-beagle-mmc-fat kernel /zImage fdt /omap3-beagle.dtb append console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait ---8<------------------------------------------------------------------- [LEGACY_MMC(0:2)/boot/extlinux/extlinux.conf] ---8<------------------------------------------------------------------- default omap3-beagle-mmc-ext4 label omap3-beagle-mmc-ext4 kernel /boot/zImage fdt /boot/omap3-beagle.dtb append console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait ---8<------------------------------------------------------------------- [UBIFS(ubi0:rootfs)/boot/extlinux/extlinux.conf] ---8<------------------------------------------------------------------- default omap3-beagle-nand-ubifs label omap3-beagle-nand-ubifs kernel /boot/zImage fdt /boot/omap3-beagle.dtb append console=ttyO2,115200n8 root=ubi0:rootfs rw ubi.mtd=rootfs rootfstype=ubifs rootwait ---8<------------------------------------------------------------------- The board's 'bootcmd' can also be overridden with: CONFIG_BOOTCOMMAND="run findfdt; run mmcboot" CONFIG_BOOTCOMMAND="run findfdt; run nandboot" CONFIG_BOOTCOMMAND="run findfdt; run ramboot" or CONFIG_BOOTCOMMAND="run findfdt; run somethingelse" The use of 'run findfdt' is required. Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
* env: ti: boot: Get rid of magic numbersSam Protsenko2018-03-131-6/+4
| | | | | | | | Get the start address and the size of partitions using partition names rather than partition numbers. This way we can change the partition table further without changing the boot code. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
* clk: clk_stm32f: Add DSI clock supportPatrice Chotard2018-03-131-0/+1
| | | | | | | | DSI clock is available on STM32F769-disco and STM32F469-disco board. Signed-off-by: Yannick Fertre <yannick.fertre@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* board: stm32: switch to DM STM32 timerPatrice Chotard2018-03-132-4/+2
| | | | | | | | | | | | Use available DM stm32_timer driver instead of dedicated mach-stm32/stm32fx/timer.c. Remove all defines or files previously used for timer usage in arch/arm/include/asm/arch-stm32fx and in arch/arm/mach-stm32/stm32fx Enable DM STM32_TIMER for STM32F4/F7 and H7. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* clk: clk_stm32f: Fix stm32_clk_get_rate() for timerPatrice Chotard2018-03-131-0/+5
| | | | | | | For timer clock, an additionnal prescaler is used which was not taken into account previously. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* Merge git://git.denx.de/u-boot-rockchipTom Rini2018-03-132-2/+2
|\
| * rockchip: add text_offset to kernel_addr_r on aarch64 platformsKlaus Goger2018-03-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Booting a aarch64 Linux kernel requires the image to be placed text_offset bytes from a 2MB aligned address. See https://www.kernel.org/doc/Documentation/arm64/booting.txt booti_setup() takes care about this alignment and will relocate the image if not properly aligned with memmove(). This can require up to double the size of the loaded image and therefore accidentally overwrite content placed there (i.e ramdisk_addr_r) for large kernel images. By adding text_offset to the default kernel_addr_r we can prevent that from happening for kernels larger 18MB and also save a few cycles. We can assume a text_offset of 0x80000 for most cases, all others will be handled by booti_setup() anyway. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* | Merge branch 'next' of git://git.denx.de/u-boot-videoTom Rini2018-03-134-4/+58
|\ \ | |/ |/|
| * video: indicate code page of bitmap fontsHeinrich Schuchardt2018-03-062-2/+4
| | | | | | | | | | | | Add comments clarifying that the bitmap fonts support code page 437. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * dm: video: support increased intensity (bold)Heinrich Schuchardt2018-03-062-2/+12
| | | | | | | | | | | | | | | | Support special rendition code 0 - reset attributes. Support special rendition code 1 - increased intensity (bold). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
| * dm: video: use constants to refer to colorsHeinrich Schuchardt2018-03-062-2/+44
| | | | | | | | | | | | | | | | | | | | Use constants to refer to colors. Adjust initialization of foreground and background color to avoid setting reserved bits. Consistently u32 instead of unsigned for color bit mask. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
* | ARM: Drop unreferenced CONFIG_* defines named after boardsTuomas Tynkkynen2018-03-0919-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following config symbols are only defined once and never referenced anywhere else: CONFIG_AT91SAM9263EK CONFIG_AT91SAM9RLEK CONFIG_BARIX_IPAM390 CONFIG_BOARD_H2200 CONFIG_EP9301 CONFIG_KZM_A9_GT CONFIG_PICOSAM CONFIG_PLATINUM_PICON CONFIG_PLATINUM_TITANIUM CONFIG_PM9261 CONFIG_PM9263 CONFIG_PM9G45 CONFIG_SIEMENS_DRACO CONFIG_SIEMENS_PXM2 CONFIG_SIEMENS_RUT CONFIG_SMDKC100 CONFIG_SMDKV310 CONFIG_STM32F4DISCOVERY Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* | ARM: Drop unreferenced CONFIG_* defines named after SoCsTuomas Tynkkynen2018-03-094-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following config symbols are only defined once and never referenced anywhere else: CONFIG_ARM926EJS CONFIG_CPUAT91 CONFIG_EXYNOS5800 CONFIG_SYS_CORTEX_R4 Most of them are config symbols named after the respective SoCs which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* | MIPS: Drop unreferenced CONFIG_* definesTuomas Tynkkynen2018-03-092-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The following config symbols are only defined once and never referenced anywhere else: CONFIG_DBAU1X00 CONFIG_PB1X00 Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* | treewide: Fix gdsys mail addressesMario Six2018-03-094-4/+4
| | | | | | | | | | | | | | | | | | | | The @gdsys.cc addresses are supposed to be used for mailing lists. Switch all occurrences of @gdsys.de mail addresses to their @gdsys.cc equivalent. Also, Dirk's address was wrong in one place; fix that as well. Signed-off-by: Mario Six <six@gdsys.cc>
* | ARM: qemu-arm: Increase CONFIG_SYS_CBSIZETuomas Tynkkynen2018-03-091-0/+2
|/ | | | | | | | CONFIG_SYS_CBSIZE determines the maximum length of the kernel command line, and the default value of 256 is too small for booting some Linux images in the wild. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* Merge git://git.denx.de/u-boot-shTom Rini2018-03-051-0/+30
|\
| * ARM: dts: rmobile: Import R8A77965 M3N DT files from LinuxMarek Vasut2018-03-051-0/+30
| | | | | | | | | | | | | | Import the R8A77965 M3N DT from Linux 4.16-rc1 . Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | omap3_logic: Remove unnecessary undefsAdam Ford2018-03-051-7/+0
| | | | | | | | | | | | | | Due to evolution of the MMC driver and better support, let's remove unnecessary undefs. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ti_armv7_omap: Remove comment remnantAdam Ford2018-03-051-2/+0
| | | | | | | | | | | | | | With the migration to Kconfig, the I2C block no longer exists in here. Let's clean up the comment. Signed-off-by: Adam Ford <aford173@gmail.com>
* | libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Masahiro Yamada2018-03-057-326/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h> Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* | spl: Kconfig: Rename SPL_USBETH_SUPPORT to SPL_USB_ETHER to match with the ↵Faiz Abbas2018-03-055-5/+5
|/ | | | | | | | | | | U-boot CONFIG Rename CONFIG_SPL_USBETH_SUPPORT to CONFIG_SPL_USB_ETHER. This enables users to block text using CONFIG_IS_ENABLED() instead of resorting to #if ladders with SPL and non-SPL cases. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
* Merge branch 'master' of git://git.denx.de/u-boot-socfpgaTom Rini2018-03-011-0/+96
|\
| * ARM: socfpga: Add new CycloneV SoC Devboards DBM-SoC1 boardMarek Vasut2018-02-261-0/+96
| | | | | | | | | | | | | | Add support for a new boards from devboards.de , the DBM-SoC1 . This board has one ethernet port, one USB OTG port and USB UART. Signed-off-by: Marek Vasut <marex@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-shTom Rini2018-03-012-0/+5
|\ \
| * | ARM: rmobile: Build u-boot-spl.srec on Gen2Marek Vasut2018-02-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The u-boot-spl.srec is needed for the minimon update on Gen2 SoCs, conveniently generate this file if SPL is enabled. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Tom Rini <trini@konsulko.com>
| * | ARM: rmobile: Build u-boot-elf.srec on Gen3Masaru Nagai2018-02-271-0/+1
| |/ | | | | | | | | | | | | | | The u-boot-elf.srec is needed for the minimon update on Gen3 SoCs, conveniently generate this file. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQVipul Kumar2018-03-011-1/+0
| | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQ and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQVipul Kumar2018-03-013-9/+0
| | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | microblaze: Added Kconfig support for CONFIG_XILINX_GPIOVipul Kumar2018-03-011-1/+0
| | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_XILINX_GPIO and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | i2c: Added kconfig support for CONFIG_ZYNQ_I2C0 and CONFIG_ZYNQ_I2C1Vipul Kumar2018-03-015-8/+0
| | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_ZYNQ_I2C0 and CONFIG_ZYNQ_I2C1 and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | i2c: Added Kconfig support for CONFIG_ZYNQ_GEM_I2C_MAC_OFFSETVipul Kumar2018-03-013-3/+0
| | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | i2c: Added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SPEEDVipul Kumar2018-03-012-2/+0
| | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SPEED and set it to default value 100000. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | i2c: Added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SLAVEVipul Kumar2018-03-012-2/+0
| | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SLAVE and set it default to 0. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | i2c: Enabled CONFIG_SYS_I2C_ZYNQ in the respective defconfigVipul Kumar2018-03-012-5/+0
| | | | | | | | | | | | | | | | | | This patch enabled CONFIG_SYS_I2C_ZYNQ in the respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | arm: zynq: fpga: Added Kconfig support for CONFIG_FPGA_ZYNQPLVipul Kumar2018-02-281-2/+0
| | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_FPGA_ZYNQPL and migrates the values over to the defconfigs. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
* | fpga: Added Kconfig support for FPGA_SPARTAN3Vipul Kumar2018-02-284-4/+0
| | | | | | | | | | | | | | | | This patch added Kconfig support for FPGA_SPARTAN3 and migrates the values over to the defconfigs. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
* | Kconfig: cmd: Make networking command dependent on NETMichal Simek2018-02-272-4/+1
|/ | | | | | | | Enable networking command only when NET is enabled. And remove selecting NET for CMD_NET Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* bootcount: Migrate CONFIG_SYS_BOOTCOUNT_ADDRTom Rini2018-02-2512-30/+0
| | | | | | | | | | | | | | Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can provide a default for BOOTCOUNT_AM33XX as that's a specific part of the RTC in use. We can also provide a default for ARCH_LS1043A and ARCH_LS1021A as they had been previously calculated and their symbols are in Kconfig. In the case of other QE-enabled platforms, they are not so we must update the relevant defconfig files. The previous default only applied in some cases, even on a specific SoC family. Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* Migrate CONFIG_BOOTCOUNT_ALEN to KconfigAlex Kiernan2018-02-241-1/+0
| | | | | Convert CONFIG_BOOTCOUNT_ALEN to Kconfig Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
* Convert CONFIG_BOOTCOUNT_EXT to KconfigAlex Kiernan2018-02-241-4/+0
| | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_EXT Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
* Convert CONFIG_BOOTCOUNT_I2C to KconfigAlex Kiernan2018-02-241-1/+0
| | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_I2C Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
* Convert CONFIG_BOOTCOUNT_RAM to KconfigAlex Kiernan2018-02-242-3/+0
| | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_RAM Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
* Convert CONFIG_BOOTCOUNT_ENV to KconfigAlex Kiernan2018-02-241-2/+0
| | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_ENV Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
* Convert CONFIG_BOOTCOUNT_AM33XX to KconfigAlex Kiernan2018-02-246-7/+0
| | | | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_AM33XX Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Acked-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
* Merge git://git.denx.de/u-boot-videoTom Rini2018-02-241-0/+16
|\
| * core: add ofnode_get_by_phandle() apiKever Yang2018-02-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | We need to get ofnode from a phandle, add interface to support both live dt and fdt. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
| * core: ofnode: add ofnode_get_parent functionPhilipp Tomsich2018-02-231-0/+8
| | | | | | | | | | | | | | | | | | | | The Rockchip video drivers need to walk the ofnode-parrents to find an enclosing device that has a UCLASS_DISPLAY driver bound. This adds a ofnode_get_parent()-function that returns the parent-node. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>
* | Remove config_distro_defaults.hAdam Ford2018-02-2349-93/+0
| | | | | | | | | | | | | | With the contents of config_distro_defaults.h migrated to Kconfig, we can remove this header file completely Signed-off-by: Adam Ford <aford173@gmail.com>