freebsd-nq/sys/boot/fdt
Emmanuel Vadot d5d62a7a89 RPI DTS: Add value previously set by VideoCore and DTB links
Using latest U-Boot for RPI 1 or 2 the DTB loaded by the firmware is discarded.
The DTB was previously patched by the firmware to contain the DMA channel mask.
DTB provided by the rpi firmware or DTS in the Linux tree contain the raw value
directly. Do the same for our DTS as we cannot switch to the upstream ones yet.
Not having the DMA channel mask setup properly cause mmc not to be detected
(and probably other problems on driver using DMA).

Also, add links for rpi dtb to the name used by u-boot. This way the dtb can be
loaded by ubldr using the U-Boot env variable fdtfile.

Tested On: RPI B Rev2, RPI Zero, RPI 2 v1.1 RPI 2 v1.2

Thanks to Sylvain Garrigues <sylvain@sylvaingarrigues.com> for the help.

PR:		218344
2017-08-19 14:27:11 +00:00
..
dts RPI DTS: Add value previously set by VideoCore and DTB links 2017-08-19 14:27:11 +00:00
fdt_loader_cmd.c loader is filling fixed length command_errbuf with sprintf() and is trusting 2016-08-20 16:23:19 +00:00
fdt_overlay.c [loader][fdt] Fix applying overlays without __local_fixups__ node 2017-03-10 19:15:57 +00:00
fdt_overlay.h Add FDT overlays support to ubldr 2016-04-29 22:42:59 +00:00
fdt_platform.h Add FDT overlays support to ubldr 2016-04-29 22:42:59 +00:00
help.fdt
Makefile Add FDT overlays support to ubldr 2016-04-29 22:42:59 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00