msaitoh
40064e2457
s/lenght/length/
2019-12-26 04:53:11 +00:00
christos
87fd18f8e5
s/static inline/static __inline/g for consistency.
2018-04-19 21:50:06 +00:00
jmcneill
20c760647e
Add "disk" dependency to flash to set device class to DV_DISK.
2017-11-14 14:15:29 +00:00
jmcneill
40b9d3ee01
Add support for defining partitions using a Linux-style "mtdparts" string.
2017-11-13 17:35:58 +00:00
riastradh
82b8caba92
Kill some more extern struct cfdriver declarations.
...
Down with externs in .c!
2017-10-28 04:53:54 +00:00
dholland
f9228f4225
Add d_discard to all struct cdevsw instances I could find.
...
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
dholland
8c70ef39af
Add d_discard to all struct bdevsw instances I could find.
...
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.
2014-07-25 08:02:18 +00:00
pooka
4f6fb3bf35
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
...
the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
2014-02-25 18:30:08 +00:00
joerg
7caa2608fa
GC flash_get_part_offset.
2013-09-13 22:18:42 +00:00
rmind
a0ffc02ab8
Rename slightly misleading KTHREAD_JOINABLE to KTHREAD_MUSTJOIN.
2011-08-07 14:03:15 +00:00
ahoka
ed5192dd9e
add a function to get the size of the flash device
2011-07-29 20:48:33 +00:00
cliff
fb19d2b789
Add support for CFI NOR, using MPC8536DS as initial example.
...
Only AMD/Fujitsu command set is suported so far.
This is still work in progress, be advised.
2011-07-15 19:19:55 +00:00
ahoka
85c2d48387
dont define FLASH_DEBUG in header
2011-06-28 21:01:23 +00:00
ahoka
df8b0211cd
use proper format string
2011-06-28 20:58:00 +00:00
ahoka
0e8f635bc2
Refactor flash and nand driver, so we can reuse the io thread code
...
in the future nor driver (and any other future driver).
Also simplify some of the code in the process, eg. saner flash attachment.
2011-06-28 18:14:11 +00:00
ahoka
a148a9e65b
use nosize
2011-06-28 07:00:17 +00:00
matt
21e5ed3b5e
Use %# instead of 0x%
2011-06-12 05:29:42 +00:00
ahoka
73b363db12
remove some debug printf leftover
2011-04-26 17:42:20 +00:00
ahoka
6adb739d5e
Fix badblock checking
...
Replace flash_addr_t with flash_off_t and use it to address flash everywhere
2011-04-04 14:25:09 +00:00
uebayasi
e4215d8a60
Whitespace.
2011-03-30 14:34:26 +00:00
ahoka
2b6ee22130
Import the Flash and NAND subsytem code contributed by the University
...
of Szeged, Hungary.
The commit includes:
- Flash layer, which gives a common API to access flash devices
- NAND controller subsystem for the flash layer
- An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00