From: Matt Porter <mporter@kernel.crashing.org>
To: linux-mtd@lists.infradead.org
Subject: [PATCH][MTD] MAPS: ocotea.c compile fix and add Id keyword
Date: Tue, 16 Aug 2005 00:18:11 -0700 [thread overview]
Message-ID: <20050816001811.G28706@cox.net> (raw)
[MTD] MAPS: ocotea.c compile fix and add Id keyword
Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Index: drivers/mtd/maps/ocotea.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/ocotea.c,v
retrieving revision 1.3
diff -u -r1.3 ocotea.c
--- drivers/mtd/maps/ocotea.c 4 Nov 2004 13:24:15 -0000 1.3
+++ drivers/mtd/maps/ocotea.c 16 Aug 2005 07:11:11 -0000
@@ -1,9 +1,10 @@
/*
- * Mapping for Ocotea user flash
+ * $Id: $
*
- * Matt Porter <mporter@kernel.crashing.org>
+ * Mapping for Ocotea user flash
*
* Copyright 2002-2004 MontaVista Software Inc.
+ * Copyright 2005 Matt Porter <mporter@kernel.crashing.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -29,13 +30,13 @@
static struct map_info ocotea_small_map = {
.name = "Ocotea small flash",
.size = OCOTEA_SMALL_FLASH_SIZE,
- .buswidth = 1,
+ .bankwidth = 1,
};
static struct map_info ocotea_large_map = {
.name = "Ocotea large flash",
.size = OCOTEA_LARGE_FLASH_SIZE,
- .buswidth = 1,
+ .bankwidth = 1,
};
static struct mtd_partition ocotea_small_partitions[] = {
@@ -67,11 +68,11 @@
u8 *fpga0_adr;
unsigned long long small_flash_base, large_flash_base;
- fpga0_adr = ioremap64(OCOTEA_FPGA_ADDR, 16);
+ fpga0_adr = ioremap64(OCOTEA_FPGA_REG_0, 16);
if (!fpga0_adr)
return -ENOMEM;
- fpga0_reg = readb((unsigned long)fpga0_adr);
+ fpga0_reg = readb(fpga0_adr);
iounmap(fpga0_adr);
if (OCOTEA_BOOT_LARGE_FLASH(fpga0_reg)) {
reply other threads:[~2005-08-16 7:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050816001811.G28706@cox.net \
--to=mporter@kernel.crashing.org \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.