Commit e27a9960 authored by Sean Young's avatar Sean Young Committed by Thomas Gleixner

[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.htmSigned-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 45ca1b50
# $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)" menu "Memory Technology Devices (MTD)"
...@@ -253,6 +253,16 @@ config INFTL ...@@ -253,6 +253,16 @@ config INFTL
permitted to copy, modify and distribute the code as you wish. Just permitted to copy, modify and distribute the code as you wish. Just
not use it. 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/chips/Kconfig"
source "drivers/mtd/maps/Kconfig" source "drivers/mtd/maps/Kconfig"
......
# #
# Makefile for the memory technology device drivers. # 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. # Core functionality.
mtd-y := mtdcore.o mtd-y := mtdcore.o
...@@ -20,6 +20,7 @@ obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o mtd_blkdevs.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_FTL) += ftl.o mtd_blkdevs.o
obj-$(CONFIG_NFTL) += nftl.o mtd_blkdevs.o obj-$(CONFIG_NFTL) += nftl.o mtd_blkdevs.o
obj-$(CONFIG_INFTL) += inftl.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 nftl-objs := nftlcore.o nftlmount.o
inftl-objs := inftlcore.o inftlmount.o inftl-objs := inftlcore.o inftlmount.o
......
...@@ -97,14 +97,11 @@ config MTD_TS5500 ...@@ -97,14 +97,11 @@ config MTD_TS5500
depends on X86 && MTD_JEDECPROBE && MTD_PARTITIONS depends on X86 && MTD_JEDECPROBE && MTD_PARTITIONS
help help
This provides a driver for the on-board flash of the Technologic 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. which are accessed as separate MTD devices.
mtd0 and mtd2 are the two BIOS drives. Unfortunately the BIOS mtd0 and mtd2 are the two BIOS drives, which use the resident
uses a proprietary flash translation layer from General Software, flash disk (RFD) flash translation layer.
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.
mtd1 allows you to reprogram your BIOS. BE VERY CAREFUL. mtd1 allows you to reprogram your BIOS. BE VERY CAREFUL.
......
...@@ -19,13 +19,11 @@ ...@@ -19,13 +19,11 @@
* *
* Note: * Note:
* - In order for detection to work, jumper 3 must be set. * - 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 * - Drive A and B use the resident flash disk (RFD) flash translation layer.
* supported as of yet so standard drives can't be mounted; you can create
* your own (e.g. jffs) file system.
* - If you have created your own jffs file system and the bios overwrites * - 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. * 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> #include <linux/config.h>
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment