Branch: ag/rpi4
-
dts: bcm2838-rpi-4-b: Use the emmc2/2811 compatible string for SDHCI
Andrei Gherzan committedJul 15, 2019 Signed-off-by: Andrei Gherzan <andrei@balena.io>
-
configs: rpi4: Remove DWC2 and USB_ETHER configs
Andrei Gherzan committedJul 15, 2019 dwc2 is only connected to the usb-c port so we don't have any real benefit in having it enabled in uboot. Also, the GENET interface is connected directly to the SoC so we can drop the USB_ETHER configs. Signed-off-by: Andrei Gherzan <andrei@balena.io>
-
rpi: Add memory map for bcm2838
Andrei Gherzan committedJul 12, 2019 Signed-off-by: Andrei Gherzan <andrei@balena.io>
-
dts: bcm2838-rpi-4-b: Use the emmc2 interface for sdhci
Andrei Gherzan committedJul 12, 2019 Signed-off-by: Andrei Gherzan <andrei@balena.io>
-
config: rpi4: Add defconfig for rpi4-32
Andrei Gherzan committedJul 12, 2019 Signed-off-by: Andrei Gherzan <andrei@balena.io>
-
bcm283x mbox: Correctly wait for space to send
For sending, the second mailbox is used, but previously the status register of the first one was read.
-
bcm2835 video: Bail out early if querying video information fails
Otherwise there is a crash with newer RPi firmware, see raspberrypi/firmware#1157
-
arm: bcm283x: Define device base addresses for bcm2835
Andrei Gherzan committedJul 12, 2019 Signed-off-by: Andrei Gherzan <andrei@balena.io>
-
mmc: bcm2835_sdhci: Add support for bcm2711 device
The bcm2711 has two emmc controller. The difference is the clocks they use. Add support for the second emmc contoller. Signed-off-by: Matthias Brugger <mbrugger@suse.com>
-
arm: bcm283x: Include definition for additional emmc clock
Andrei Gherzan committedJul 12, 2019 This clock has a different mbox ID[1] so have this included in the relevant header file. [1] raspberrypi/firmware#1179 Signed-off-by: Andrei Gherzan <andrei@balena.io>
-
dt-bindings: Define BCM2838_CLOCK_EMMC2 needed for RaspberryPi 4
On BCM2838 there is an additional clock. This clock was added in the same bcm2835-cprman driver and is used by the emmc2 dt node. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
arm: mach-bcm283x: Define mbox address for BCM2838
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
arm: mach-bcm283x: Define configs for RaspberryPi 4
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
dts: Create a dtsi for BCM2835/6/7 specific configuration
This follows a similar change in kernel[1]. The change moves configuration that was not applicable for all bcm2835/6/7/8 out of bcm283x.dtsi. The new file is bcm2835-common.dtsi and contains conifguration that is common for bcm2835/6/7 (not bcm2838). [1] raspberrypi/linux@769a733#diff-5979fba23a5bab2cf66dde09db872dfc Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
configs: rpi4: Add defconfig for rpi4-64
This config is based on the the rpi3 counterpart. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
Merge tag 'mips-fixes-for-2019.07' of https://gitlab.denx.de/u-boot/c…
trini committedJul 8, 2019 …ustodians/u-boot-mips - mtmips: network stability fixes for gardena-smart-gateway
-
arm: mediatek: remove arch_misc_init
The watchdog of mediatek chips is enabled by bootrom before u-boot is running. Previously we choose to enable the wdt driver only to disable the watchdog hardware. Now wdt service is enabled by default. The function arch_misc_init which is only used to disable wdt is no longer needed. Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
-
board_r: move initr_watchdog to be called after initr_serial
The initr_watchdog is currently placed before initr_serial. The initr_watchdog calls printf and printf finally calls ops->putc of a serial driver. However, gd->cur_serial_dev points to a udevice allocated in board_f. The gd->cur_serial_dev->driver->ops->putc points the the code region before relocation. Some serial drivers call WATCHDOG_RESET() in ops->putc. When DM is enabled for watchdog, watchdog_reset() is called. watchdog_reset() calls get_timer to get current timer. On some platforms the timer driver is also a DM driver. initr_watchdog is placed right after initr_dm, which means the timer driver hasn't been initialized. So dm_timer_init() is called. To create a new udevice, calloc is called. However start from ops->putc, u-boot execution flow is redirected into the memory region before relocation (board_f). In board_f, dlmalloc hasn't been initialized. The call to calloc will fail, and this will cause DM to print out an error message, and it will call printf again, causing recursive error outputs. This patch places initr_watchdog after initr_serial to solve this issue. Cc: Stefan Roese <sr@denx.de> Reviewed-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Frank Wunderlich <frank-w@public-files.de> Tested-by: Suniel Mahesh <sunil.m@techveda.org>
-
Merge tag 'dm-pull-7jul19' of https://gitlab.denx.de/u-boot/custodian…
trini committedJul 7, 2019 …s/u-boot-dm Fix booting for wandboard
-
Merge tag 'video-for-2019.07' of https://gitlab.denx.de/u-boot/custod…
trini committedJul 7, 2019 …ians/u-boot-video - fix pwm backlight
-
imx6: wandboard: allow booting from MMC 2
One of the SD-CARD slots on the Wandboard Quad B1 is MMC 2. Enable it as a boot device. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Fabio Estevam <festevam@gmail.com>
-
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb
trini committedJul 7, 2019 - DWC and i.MX6 fixes
-
Merge tag 'rockchip-for-v2019.07-rc5-3' of https://gitlab.denx.de/u-b…
trini committedJul 7, 2019
-
video: backlight: fix pwm inversion
set_pwm() will always fail with -ENOSYS if pwm_ops set_invert() is not implemented, leaving the backlight dark. Fix this by returning no error if set_invert() is not implemented and no polarity change is requested. Fixes: 57e7775 ("video: backlight: Parse PWM polarity cell") Signed-off-by: Marc Dietrich <marvin24@gmx.de>
-
Merge tag 'rpi-next-2019.07' of https://github.com/mbgg/u-boot
trini committedJul 5, 2019 - fix complation error for CONFIG_USB - update RPi3 DTBs to v5.1-rc6 state - add defconfig for RPi3 B+ - Fix BCM2835_MBOX_TAG_TEST_PIXEL_ORDER define
-
mips: mt76xx: Implement new d-cache fix in last_stage_init()
With commit 0698528 ("watchdog: Implement generic watchdog_reset() version") the init sequence has changed in arch_misc_init(), resulting in a re-appearance of the d-cache issue on MT7688 boards (e.g. gardena). When this happens, the first (or sometimes later ones as well) TFTP command hangs and does not complete correctly. This leads to the assumption that the d-cache is not in a clean state once the ethernet driver is called (d-cache is used here for the buffers). The old work- around with the cache flush somehow does not work any more now with the new code change. Unfortunately adding CONFIG_SYS_MALLOC_CLEAR_ON_INIT also did not fix this issue. With v2019.07-rc3 it shows again. The time of accessing the data seems to be very important here. It needs to be "very late" in the boot process. Testing has shown, that copying a 64KiB area in DDR at a very late bootup time, directly before calling into the prompt, fixes this issue. Flushing of the complete d-cache does not seem to necessary, as this copy alone seems to fix this problem. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic…
Jean-Jacques Hiblot authored and Marek Vasut committedJul 5, 2019 … glue dwc3-generic has been broken since MISC uclass has been modified to scan DT sub-nodes after bind. Fixing it by a using the no-op uclass. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-
Jean-Jacques Hiblot authored and Marek Vasut committed
Jul 5, 2019 This uclass is intended for devices that do not need any features from the uclass, including binding children. This will typically be used by devices that are used to bind child devices but do not use dm_scan_fdt_dev() to do it. That is for example the case of several USB wrappers that have 2 child devices (1 for device and 1 for host) but bind only one at a any given time. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-
usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback
Jean-Jacques Hiblot authored and Marek Vasut committedJul 5, 2019 There is simply no reason to do that here. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
-
usb: ehci-mx6: Fix bus enumeration for DM case
Marek Vasut committedJul 5, 2019 The EHCI iMX6 driver is only partly converted to DT probing and still uses a tremendous amount of hard-coded addresses. Worse, the driver uses hard-coded SoC-model-specific base addresses, which are derived from values protected by SoC-specific macros, hence the driver is also compiled for a specific SoC model. Even worse, the driver depends on specific sequential indexing of the controllers, from which it derives offsets in the PHY and ANATOP register sets. However, when the driver is probed from DT, the indexing is not correct. In fact, each controller has index 0. This patch derives the index for DT probing case from the controller base addresses, which is not the way this should be done, however it is the least intrusive approach, favorable this close to release. The necessary steps to convert this driver fully to DT probing are described inside the patch, however this should be done in the next release and depends on iMX clock driver patches. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Abel Vesa <abel.vesa@nxp.com> Cc: Adam Ford <aford173@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: Ludwig Zenz <lzenz@dh-electronics.com> Cc: Lukasz Majewski <lukma@denx.de> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Vagrant Cascadian <vagrant@debian.org>
-
rockchip: make_fit_atf.py: fix loadables property set error
Commit b238e4b ("rockchip: Cleanup of make_fit_atf.py.") set firmware = "atf_1"; loadables = "uboot","atf_1","atf_2"; Actually it should be: firmware = "atf_1"; loadables = "uboot","atf_2","atf_3"; Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-
board: amlogic: add mailing-list to MAINTAINERS
Add missing mailing-list to the amlogic boards MAINTAINERS file. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>