Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 17:39:06 -0500
From:      Steve Kiernan <stevek@juniper.net>
To:        Stanislav Galabov <sgalabov@gmail.com>
Cc:        <freebsd-mips@freebsd.org>, <freebsd-arm@freebsd.org>
Subject:   Re: SPI geom_flashmap/fdt_slicer support, FDT 'resets=' support and a move of ohci_fdt.c
Message-ID:  <20160122173906.147bb7c2@stevek-ubuntu.jnpr.net>
In-Reply-To: <B4B24B7D-B3EE-4F37-9E89-24FF17294C70@gmail.com>
References:  <B4B24B7D-B3EE-4F37-9E89-24FF17294C70@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Jan 2016 11:01:10 +0200
Stanislav Galabov <sgalabov@gmail.com> wrote:

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

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

I think you also need something like the following:

Index: sys/conf/files
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160122173906.147bb7c2>