You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[MTD] Add Resident Flash Disk (RFD) support
This type of flash translation layer (FTL) is used by the Embedded BIOS by General Software. It is known as the Resident Flash Disk (RFD), see: http://www.gensw.com/pages/prod/bios/rfd.htm Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
committed by
Thomas Gleixner
parent
45ca1b509e
commit
e27a9960af
+11
-1
@@ -1,4 +1,4 @@
|
||||
# $Id: Kconfig,v 1.7 2004/11/22 11:33:56 ijc Exp $
|
||||
# $Id: Kconfig,v 1.9 2005/06/16 08:49:29 sean Exp $
|
||||
|
||||
menu "Memory Technology Devices (MTD)"
|
||||
|
||||
@@ -253,6 +253,16 @@ config INFTL
|
||||
permitted to copy, modify and distribute the code as you wish. Just
|
||||
not use it.
|
||||
|
||||
config RFD_FTL
|
||||
tristate "Resident Flash Disk (Flash Translation Layer) support"
|
||||
depends on MTD
|
||||
---help---
|
||||
This provides support for the flash translation layer known
|
||||
as the Resident Flash Disk (RFD), as used by the Embedded BIOS
|
||||
of General Software.
|
||||
See http://www.gensw.com/pages/prod/bios/rfd.htm for further
|
||||
information.
|
||||
|
||||
source "drivers/mtd/chips/Kconfig"
|
||||
|
||||
source "drivers/mtd/maps/Kconfig"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Makefile for the memory technology device drivers.
|
||||
#
|
||||
# $Id: Makefile.common,v 1.5 2004/08/10 20:51:49 dwmw2 Exp $
|
||||
# $Id: Makefile.common,v 1.6 2005/06/16 08:49:29 sean Exp $
|
||||
|
||||
# Core functionality.
|
||||
mtd-y := mtdcore.o
|
||||
@@ -20,6 +20,7 @@ obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o mtd_blkdevs.o
|
||||
obj-$(CONFIG_FTL) += ftl.o mtd_blkdevs.o
|
||||
obj-$(CONFIG_NFTL) += nftl.o mtd_blkdevs.o
|
||||
obj-$(CONFIG_INFTL) += inftl.o mtd_blkdevs.o
|
||||
obj-$(CONFIG_RFD_FTL) += rfd_ftl.o mtd_blkdevs.o
|
||||
|
||||
nftl-objs := nftlcore.o nftlmount.o
|
||||
inftl-objs := inftlcore.o inftlmount.o
|
||||
|
||||
@@ -97,14 +97,11 @@ config MTD_TS5500
|
||||
depends on X86 && MTD_JEDECPROBE && MTD_PARTITIONS
|
||||
help
|
||||
This provides a driver for the on-board flash of the Technologic
|
||||
System's TS-5500 board. The flash is split into 3 partitions
|
||||
System's TS-5500 board. The 2MB flash is split into 3 partitions
|
||||
which are accessed as separate MTD devices.
|
||||
|
||||
mtd0 and mtd2 are the two BIOS drives. Unfortunately the BIOS
|
||||
uses a proprietary flash translation layer from General Software,
|
||||
which is not supported (the drives cannot be mounted). You can
|
||||
create your own file system (jffs for example), but the BIOS
|
||||
won't be able to boot from it.
|
||||
mtd0 and mtd2 are the two BIOS drives, which use the resident
|
||||
flash disk (RFD) flash translation layer.
|
||||
|
||||
mtd1 allows you to reprogram your BIOS. BE VERY CAREFUL.
|
||||
|
||||
|
||||
@@ -19,13 +19,11 @@
|
||||
*
|
||||
* Note:
|
||||
* - In order for detection to work, jumper 3 must be set.
|
||||
* - Drive A and B use a proprietary FTL from General Software which isn't
|
||||
* supported as of yet so standard drives can't be mounted; you can create
|
||||
* your own (e.g. jffs) file system.
|
||||
* - Drive A and B use the resident flash disk (RFD) flash translation layer.
|
||||
* - If you have created your own jffs file system and the bios overwrites
|
||||
* it during boot, try disabling Drive A: and B: in the boot order.
|
||||
*
|
||||
* $Id: ts5500_flash.c,v 1.2 2004/11/28 09:40:40 dwmw2 Exp $
|
||||
* $Id: ts5500_flash.c,v 1.3 2005/06/16 08:49:30 sean Exp $
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user