- 24 Sep, 2019 1 commit
-
-
Marek Behun authored
For some unknown reasons some boards with four 512 MiB RAM chips (= 2 GiB RAM) sometimes fail to train correctly at 800 MHz with the new DDR training algorithm. Use the EEPROM to count how many times the training failed and if the training failed more than 3 times, train at 667 MHz. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
- 23 Sep, 2019 4 commits
-
-
Marek Behun authored
Add support for higher baudrates than 115200. This is useful when debugging. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
Marek Behun authored
CONFIG_PCI_PNP must not be set, otherwise ath10k breaks in kernel. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
Michal Hrusecky authored
Set generic rescue_mode variable used in newer rescue modes and expect FIR image in NOR to be LZMA compressed. Also use sfp FIR image configuration if SFP module is found. Signed-off-by:
Michal Hrusecky <michal.hrusecky@nic.cz> Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
Michal Hrusecky authored
Make sure we have enough memory for all images that we might want to boot. Signed-off-by:
Michal Hrusecky <michal.hrusecky@nic.cz> Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
- 07 Aug, 2019 2 commits
-
-
Marek Behun authored
The non-DM version of this driver used to set BAR0 register after the calls to pci_set_region. I found out that for some strange reason the ath10k driver in kernel fails to work if this is done the other way around. I know that Linux's driver should not depend on how U-Boot does things, but for some strange reason it does and this seems to be the simplest solution. Fix it since it caused regressions on Omnia. Signed-off-by:
Marek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Cc: Phil Sutter <phil@nwl.cc> Cc: VlaoMao <vlaomao@gmail.com>
-
Marek Behun authored
Use ft_board_setup to add the "serial-number" property to the device tree, so that Linux can display Omnia's serial number in /proc/cpuinfo. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
- 17 Jul, 2019 1 commit
-
-
Marek Behun authored
The prescaler value computation can yield wrong result if given 0x1f at the beginning: the value is computed to be 0x20, but the maximum value the register can hold 0x1f, so the actual stored value in this case is 0, which is obviously wrong. The first condition should also take care of the 0x1f value. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
- 16 Jul, 2019 1 commit
-
-
Marek Behun authored
Add Macronis SPI flash support - some Omnia routers are shipped with this SPI flash chip. Also add the memtest command to defconfig. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
- 14 Jul, 2019 3 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-stmTom Rini authored
- syscon: add support for power off - stm32mp1: add op-tee config - stm32mp1: add specific commands: stboard and stm32key - add stm32 mailbox driver - solve many stm32 warnings when building with W=1 - update stm32 gpio driver
-
Tom Rini authored
- First round of TI Davinci updates - Some OMAP3 DM updates - Other misc updates
-
Tom Rini authored
This test is currently broken so disable it for now. Cc: Ramon Fried <ramon.fried@gmail.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- 13 Jul, 2019 24 commits
-
-
Adam Ford authored
Since we have limited resources in SPL, it is the best interest to keep the SPL as small as possible and that includes the DTB. There are a few items in the device tree that can be removed, because these boards don't use them. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Sven Schwermer authored
Fixed regulators don't have a set_value method. Therefore, trying to set their value will always return -ENOSYS. Signed-off-by:
Sven Schwermer <sven@svenschwermer.de> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Peng Fan <peng.fan@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Heiko Schocher authored
add gpio-hog support. GPIO hogging is a mechanism providing automatic GPIO request and configuration as part of the gpio-controller's driver probe function. for more infos see: doc/device-tree-bindings/gpio/gpio.txt Signed-off-by:
Heiko Schocher <hs@denx.de> Tested-by: Michal Simek <michal.simek@xilinx.com> (zcu102) Tested-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Adam Ford authored
The MMC card-detect pin was incorrectly defined which was fixed. This patch resync's the dts and removes the u-boot specific fix. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
The da850.dtsi file had some changes. This patch pulls in the changes from Kernel 5.1.9 Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
With a recent update to the pinctrl-single driver and the fact that the da850evm has both DM and OF_CONTROL working in both SPL and U-Boot, some of the manual pinmuxing can be setup to only be activated when either the driver doesn't have DM for it, or when CONFIG_PINMUX isn't available (only during SPL). If the code ever shrinks enough to support PINCTRL in SPL, a lot of this can go away. This also remove some manual pinmuxing not needed by SPL to give SPL a little more breathing room. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
The TI Davinci (da850/l138/am1808) use pinctrl-single,bits for pinmuxing peripherals. This patch allosw the pinctrl-single driver to parse the pinctrl-single,bits options and correctly setup devices. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Tom Rini authored
The USE_TINY_PRINTF symbol only changes things within SPL and TPL builds, so make it depend on that support. Next, make it default as within these cases we should rarely have need of more advanced print formats outside of the debug context. To do this, in a few cases we need to correct our Kconfig dependencies as we had cases of non-SPL targets select'ing this symbol. Finally, in the case of a few boards we really do need the full printf functionality. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Keerthy authored
Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565. These were missing and the Makefile already assumes them to be defined. Add the corresponding SPL config options. This enables the regulator support in SPL. Signed-off-by:
Keerthy <j-keerthy@ti.com>
-
Keerthy authored
Add SPL_PMIC configs for palmas/lp873x/lp87565. These were missing and the Makefile already assumes them to be defined. Add the corresponding SPL config options. This enables the pmics in SPL. Signed-off-by:
Keerthy <j-keerthy@ti.com>
-
Niel Fourie authored
Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega AM335x. CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-WEGA DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet@4a100000 Working: - Eth0 - i2C - MMC/SD - NAND - UART - USB (host) Device trees were taken from Linux mainline: commit 37624b58542f ("Linux 5.1-rc7") Signed-off-by:
Niel Fourie <lusus@denx.de> Signed-off-by:
Parthiban Nallathambi <pn@denx.de> Reviewed-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com> Tested-by:
Marek Vasut <marex@denx.de>
-
David Lechner authored
This converts LEGO MINDSTORMS EV3 to the driver model. MMC, SERIAL, SPI and SPI_FLASH are converted. The device tree contains only the minimal nodes required by U-Boot since the size of U-Boot is limited to 256K on this device. Signed-off-by:
David Lechner <david@lechnology.com>
-
Michael Walle authored
Signed-off-by:
Michael Walle <michael@walle.cc>
-
Derald D. Woods authored
This commit addresses the following warning, when _NOT_ USB_MUSB_HOST: [...] CC drivers/usb/gadget/f_mass_storage.o CC drivers/usb/musb-new/omap2430.o CC drivers/usb/gadget/f_fastboot.o CC env/common.o CC env/env.o /src/etinker/software/u-boot-master/drivers/usb/musb-new/omap2430.c: In function ‘omap2430_musb_probe’: /src/etinker/software/u-boot-master/drivers/usb/musb-new/omap2430.c:239:6: warning: assignment to ‘int’ from ‘struct musb *’ makes integer from pointer without a cast [-Wint-conversion] ret = musb_register(&platdata->plat, ^ LD drivers/usb/host/built-in.o CC drivers/usb/gadget/f_sdp.o CC fs/ext4/ext4fs.o [...] Signed-off-by:
Derald D. Woods <woods.technical@gmail.com>
-
Derald D. Woods authored
This addresses the following warning message: ===================== WARNING ====================== This board does not use CONFIG_DM_USB. Please update the board to use CONFIG_DM_USB before the v2019.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== As USB support for older OMAP3 SoC's improves, OMAP3 EVM can be readily adapted. There is some additional 'gpio-hog' support needed to fully setup USB in a similar manner to Linux. Signed-off-by:
Derald D. Woods <woods.technical@gmail.com>
-
Derald D. Woods authored
Signed-off-by:
Derald D. Woods <woods.technical@gmail.com>
-
Heiko Schocher authored
add m41t11 support in ds1307 driver. changes: - add compatible string for m41t11 - check if RTC clock is running, if not enable the clock Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Ezequiel Garcia authored
When MMC_TINY is enabled, support for only one MMC device is provided. Boards that register more than one device, will just write over mmc_static keeping only the last one registered. This commit prevents this, keeping only the first MMC device created. A debug warning message is added, if nothing else, as a hint/documentation for developers. Signed-off-by:
Ezequiel Garcia <ezequiel@collabora.com>
-
Ezequiel Garcia authored
The SPL_MMC_TINY implements feature-reduced MMC support on SPL, and as such, it's more consistent and convenient to find it as part of the SPL configuration. Signed-off-by:
Ezequiel Garcia <ezequiel@collabora.com>
-
Leo Ruan authored
Add sub-command 'env info' to display environment information: - env_valid : is environment valid - env_ready : is environment imported into hash table - env_use_default : is default environment using This command can be optionally used for evaluation in scripts: [-d] : evaluate whether default environment is used [-p] : evaluate whether environment can be persisted The result of multiple evaluations will be combined with AND. Signed-off-by:
Leo Ruan <tingquan.ruan@cn.bosch.com> Signed-off-by:
Mark Jonas <mark.jonas@de.bosch.com> Reviewed-by:
Simon Glass <sjg@chromium.org> [trini: Do not enable by default] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Peng Fan authored
`if (!strncmp(dev->name, name, strlen(name)))` might find out the wrong device, it might find out `dram_pll_ref_sel`, when name is `dram_pll`. So use strcmp to avoid such issue. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Peng Fan authored
"keyb" is not the real device name, "keyb@3" is. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Peng Fan authored
"adc" is not the real device name, "adc@0" is. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Marek Behun authored
Use the uclass_first_device_check and uclass_next_device_check functions instead of uclass_first_device and uclass_next_device in pci_init. This ensures that all PCI devices are tried to be probed. Currently if a device fails to probe, the enumeration stops and the devices which come after the failed device are not probed. Signed-off-by:
Marek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Anton Schubert <anton.schubert@gmx.de> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Cc: Phil Sutter <phil@nwl.cc> Cc: VlaoMao <vlaomao@gmail.com> Cc: Tom Rini <trini@konsulko.com> Reviewed-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- 12 Jul, 2019 4 commits
-
-
Ilko Iliev authored
Convert the board to support the USB and video driver model and remove the unnecessary code.
-
Ilko Iliev authored
Convert the board to support the USB and video driver model and remove the unnecessary code.
-
Patrice Chotard authored
This fixes the following error message: U-Boot 2019.07-rc4-00103-g5eea874b (Jun 25 2019 - 15:09:31 +0200) DRAM: 8 MiB gpio@40021800: dir_output: error: gpio GPIOG14 not reserved gpio@40021800: dir_output: error: gpio GPIOG13 not reserved gpio@40021800: set_value: error: gpio GPIOG14 not reserved Flash: 2 MiB .... Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
As compatible string "st,stm32-gpio" is no more used, .ofmatch callback becomes useless, remove it. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@st.com>
-