Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2014 04:35:02 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   nand controller - how should one handle controllers that want the command+address bits together?
Message-ID:  <CAJ-VmonpUsvXFHMCyH--3S4AEocTjhESCyjp9UmT-w5GyuZmvw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hiya,

I've got the atheros ar934x nand controller bits looking like they're
working on freebsd-head enough to send/receive a READID command with
an address of 0x0. However, the NAND controller sends commands with
the cmd and address phases as part of the command, rather than calling
send_command / send_address methods called multiple times.

It seems like our nandbus and nand controller layer is a very thin
shim over what the NAND control messages look like, rather than some
higher level 'thing' that allows for slightly more intelligent (read:
DMA/ECC capable) hardware.

So, what gives?


-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonpUsvXFHMCyH--3S4AEocTjhESCyjp9UmT-w5GyuZmvw>