nand controller - how should one handle controllers that want the command+address bits together?

Adrian Chadd adrian at freebsd.org
Tue Mar 18 11:35:03 UTC 2014


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


More information about the freebsd-embedded mailing list