SPI geom_flashmap/fdt_slicer support, FDT 'resets=' support and a move of ohci_fdt.c

Steve Kiernan stevek at juniper.net
Fri Jan 22 23:13:42 UTC 2016


On Thu, 14 Jan 2016 11:01:10 +0200
Stanislav Galabov <sgalabov at gmail.com> wrote:

> Hi all,
> 
> First off, sorry for the cross-post, I wasn’t very sure where this should go…
> 
> I’ve created 3 PRs, which enable some functionality that my work on Ralink/Mediatek SoCs would benefit from.
> 
> 1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206227
> - This enables geom_flashmap and fdt_slicer support for SPI flash chips supported by the mx25l driver (sys/dev/flash/mx25l.c)

I see this change was committed to head, but I don't see a corresponding change to sys/conf/files to ensure fdt_slicer.c and geom_flashmap.c get compiled.

I think you also need something like the following:

Index: sys/conf/files
===================================================================
--- sys/conf/files      (revision 294541)
+++ sys/conf/files      (working copy)
@@ -1419,7 +1419,7 @@
 dev/fdt/fdt_common.c           optional fdt
 dev/fdt/fdt_pinctrl.c          optional fdt fdt_pinctrl
 dev/fdt/fdt_pinctrl_if.m       optional fdt fdt_pinctrl
-dev/fdt/fdt_slicer.c           optional fdt cfi | fdt nand
+dev/fdt/fdt_slicer.c           optional fdt cfi | fdt nand | fdt mx25l
 dev/fdt/fdt_static_dtb.S       optional fdt fdt_dtb_static \
        dependency      "$S/boot/fdt/dts/${MACHINE}/${FDT_DTS_FILE}"
 dev/fdt/simplebus.c            optional fdt
@@ -3010,7 +3010,7 @@
 geom/geom_dump.c               stfgeom_dumandard
 geom/geom_event.c              standard
 geom/geom_fox.c                        optional geom_fox
-geom/geom_flashmap.c           optional fdt cfi | fdt nand
+geom/geom_flashmap.c           optional fdt cfi | fdt nand | fdt mx25l
 geom/geom_io.c                 standard
 geom/geom_kern.c               standard
 geom/geom_map.c                        optional geom_map


More information about the freebsd-arm mailing list