Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 19:20:15 -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:  <20160127192015.64d0ded0@stevek-ubuntu.jnpr.net>
In-Reply-To: <CANiSyhR01wY65%2B2Nu%2B3Hucs%2BbDWyKhH_ejujG9CE39SaQQ2Wqg@mail.gmail.com>
References:  <B4B24B7D-B3EE-4F37-9E89-24FF17294C70@gmail.com> <20160122173906.147bb7c2@stevek-ubuntu.jnpr.net> <CANiSyhR01wY65%2B2Nu%2B3Hucs%2BbDWyKhH_ejujG9CE39SaQQ2Wqg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Jan 2016 07:18:04 +0200
Stanislav Galabov <sgalabov@gmail.com> wrote:

> It looks like only part of the original patch I submitted made it into head
> (only the mx25l part).
> We also need to change sys/conf/files as Steve pointed out, as well as
> sys/geom/geom_flashmap.c:
> https://bz-attachments.freebsd.org/attachment.cgi?id=165546

One other thing that needs to be considered. The nand driver has an ioctl
for getting chip parameters (see chip_param_io structure in
sys/dev/nand/nand_dev.h) and geom_flashmap only allows for
NAND_IO_GET_CHIP_PARAM to be passed to the provider. However, the CFI and
SPI devices do not implement this and they probably should not as-is.
Something more generic to flash devices that are handled by geom_flashmap
is probably in order.

-Steve



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