diff options
author | brooks <brooks@FreeBSD.org> | 2012-08-25 18:08:20 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2012-08-25 18:08:20 +0000 |
commit | b4eee9541e5d371d4fbbda29db51fdc8f54620c7 (patch) | |
tree | de1757a58d5aeb15579c0707c60afd8287b24d0f /sys/mips/conf | |
parent | e384ca8b42c7be835c0d338f6038966641c9b9c9 (diff) | |
download | FreeBSD-src-b4eee9541e5d371d4fbbda29db51fdc8f54620c7.zip FreeBSD-src-b4eee9541e5d371d4fbbda29db51fdc8f54620c7.tar.gz |
Add isf(4), a driver for the Intel StrataFlash family of NOR flash parts.
The driver attempts to support all documented parts, but has only been
tested with the 512Mbit part on the Terasic DE4 FPGA board. It should be
trivial to adapt the driver's attach routine to other embedded boards
using with any parts in the family.
Also import isfctl(8) which can be used to erase sections of the flash.
Sponsored by: DARPA, AFRL
Diffstat (limited to 'sys/mips/conf')
-rw-r--r-- | sys/mips/conf/BERI_DE4.hints | 10 | ||||
-rw-r--r-- | sys/mips/conf/BERI_DE4_MDROOT | 1 | ||||
-rw-r--r-- | sys/mips/conf/BERI_DE4_SDROOT | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/sys/mips/conf/BERI_DE4.hints b/sys/mips/conf/BERI_DE4.hints index 319d0c2..4ffe6c2 100644 --- a/sys/mips/conf/BERI_DE4.hints +++ b/sys/mips/conf/BERI_DE4.hints @@ -46,6 +46,16 @@ hint.altera_avgen.0.devname="berirom" #hint.altera_avgen.0.mmapio="rwx" #hint.altera_avgen.0.devname="de4flash" +# +# General Intel StrataFlash driver +# +hint.isf.0.at="nexus0" +hint.isf.0.maddr=0x74000000 +hint.isf.0.msize=0x2000000 +hint.isf.1.at="nexus0" +hint.isf.1.maddr=0x76000000 +hint.isf.1.msize=0x2000000 + # Reserved configuration blocks. Don't touch. hint.map.0.at="isf0" hint.map.0.start=0x00000000 diff --git a/sys/mips/conf/BERI_DE4_MDROOT b/sys/mips/conf/BERI_DE4_MDROOT index 8903179..658c925 100644 --- a/sys/mips/conf/BERI_DE4_MDROOT +++ b/sys/mips/conf/BERI_DE4_MDROOT @@ -25,4 +25,5 @@ device altera_avgen device altera_jtag_uart device altera_sdcard +device isf #device sc diff --git a/sys/mips/conf/BERI_DE4_SDROOT b/sys/mips/conf/BERI_DE4_SDROOT index dcd177b..b41e6ff 100644 --- a/sys/mips/conf/BERI_DE4_SDROOT +++ b/sys/mips/conf/BERI_DE4_SDROOT @@ -18,4 +18,5 @@ device altera_avgen device altera_jtag_uart device altera_sdcard +device isf #device sc |