[ARM] 4949/1: magician: enable flash VPP GPIO and build in MTD, physmap-flash and JFFS2

This enables rootfs on StrataFlash if the bootloader supplies the
partition list.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
此提交包含在:
Philipp Zabel
2008-04-09 19:24:05 +01:00
提交者 Russell King
父節點 70e357f842
當前提交 aa7975901b
共有 2 個檔案被更改,包括 19 行新增16 行删除

查看文件

@@ -224,6 +224,11 @@ static struct pxaohci_platform_data magician_ohci_info = {
* StrataFlash
*/
static void magician_set_vpp(struct map_info *map, int vpp)
{
gpio_set_value(EGPIO_MAGICIAN_FLASH_VPP, vpp);
}
#define PXA_CS_SIZE 0x04000000
static struct resource strataflash_resource = {
@@ -234,6 +239,7 @@ static struct resource strataflash_resource = {
static struct physmap_flash_data strataflash_data = {
.width = 4,
.set_vpp = magician_set_vpp,
};
static struct platform_device strataflash = {