From: Tony Prisk <linux@prisktech.co.nz>
To: dwmw2@infradead.org
Cc: dedekind1@gmail.com, linux-kernel@vger.kernel.org,
Tony Prisk <linux@prisktech.co.nz>,
linux-mtd@lists.infradead.org,
vt8500-wm8505-linux-kernel@googlegroups.com,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/2] Add Wondermedia Serial Flash controller support
Date: Wed, 23 Jan 2013 21:01:06 +1300 [thread overview]
Message-ID: <1358928068-12417-1-git-send-email-linux@prisktech.co.nz> (raw)
v3 Changes:
As requested by Artem Bityutskiy, I have seperated out the flash chip data into
a seperate file (flash_jedec.(h/c)) which should be expandable by other drivers
as needed.
I have also cleared up some of the sparse warnings that were being generated,
but need some help with the last one:
+drivers/mtd/devices/wmt_sflash.c:442:24: warning: cast removes address space of expression [sparse]
which relates to this line:
+ u32 addr_to = (u32)info->sf_base_virt + to;
What is the correct way to get the value of ->sf_base_virt without generating
a sparse warning? sf_base_virt is void __iomem *.
Tony Prisk (2):
mtd: Add a common JEDEC flash device table
mtd: vt8500: Add support for Wondermedia Serial Flash Controller
drivers/mtd/devices/Kconfig | 10 +
drivers/mtd/devices/Makefile | 3 +-
drivers/mtd/devices/flash_jedec.c | 96 ++++++
drivers/mtd/devices/flash_jedec.h | 30 ++
drivers/mtd/devices/wmt_sflash.c | 585 +++++++++++++++++++++++++++++++++++++
5 files changed, 723 insertions(+), 1 deletion(-)
create mode 100644 drivers/mtd/devices/flash_jedec.c
create mode 100644 drivers/mtd/devices/flash_jedec.h
create mode 100644 drivers/mtd/devices/wmt_sflash.c
--
1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: linux@prisktech.co.nz (Tony Prisk)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/2] Add Wondermedia Serial Flash controller support
Date: Wed, 23 Jan 2013 21:01:06 +1300 [thread overview]
Message-ID: <1358928068-12417-1-git-send-email-linux@prisktech.co.nz> (raw)
v3 Changes:
As requested by Artem Bityutskiy, I have seperated out the flash chip data into
a seperate file (flash_jedec.(h/c)) which should be expandable by other drivers
as needed.
I have also cleared up some of the sparse warnings that were being generated,
but need some help with the last one:
+drivers/mtd/devices/wmt_sflash.c:442:24: warning: cast removes address space of expression [sparse]
which relates to this line:
+ u32 addr_to = (u32)info->sf_base_virt + to;
What is the correct way to get the value of ->sf_base_virt without generating
a sparse warning? sf_base_virt is void __iomem *.
Tony Prisk (2):
mtd: Add a common JEDEC flash device table
mtd: vt8500: Add support for Wondermedia Serial Flash Controller
drivers/mtd/devices/Kconfig | 10 +
drivers/mtd/devices/Makefile | 3 +-
drivers/mtd/devices/flash_jedec.c | 96 ++++++
drivers/mtd/devices/flash_jedec.h | 30 ++
drivers/mtd/devices/wmt_sflash.c | 585 +++++++++++++++++++++++++++++++++++++
5 files changed, 723 insertions(+), 1 deletion(-)
create mode 100644 drivers/mtd/devices/flash_jedec.c
create mode 100644 drivers/mtd/devices/flash_jedec.h
create mode 100644 drivers/mtd/devices/wmt_sflash.c
--
1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: Tony Prisk <linux@prisktech.co.nz>
To: dwmw2@infradead.org
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
vt8500-wm8505-linux-kernel@googlegroups.com,
linux-mtd@lists.infradead.org, dedekind1@gmail.com,
Tony Prisk <linux@prisktech.co.nz>
Subject: [PATCH v3 0/2] Add Wondermedia Serial Flash controller support
Date: Wed, 23 Jan 2013 21:01:06 +1300 [thread overview]
Message-ID: <1358928068-12417-1-git-send-email-linux@prisktech.co.nz> (raw)
v3 Changes:
As requested by Artem Bityutskiy, I have seperated out the flash chip data into
a seperate file (flash_jedec.(h/c)) which should be expandable by other drivers
as needed.
I have also cleared up some of the sparse warnings that were being generated,
but need some help with the last one:
+drivers/mtd/devices/wmt_sflash.c:442:24: warning: cast removes address space of expression [sparse]
which relates to this line:
+ u32 addr_to = (u32)info->sf_base_virt + to;
What is the correct way to get the value of ->sf_base_virt without generating
a sparse warning? sf_base_virt is void __iomem *.
Tony Prisk (2):
mtd: Add a common JEDEC flash device table
mtd: vt8500: Add support for Wondermedia Serial Flash Controller
drivers/mtd/devices/Kconfig | 10 +
drivers/mtd/devices/Makefile | 3 +-
drivers/mtd/devices/flash_jedec.c | 96 ++++++
drivers/mtd/devices/flash_jedec.h | 30 ++
drivers/mtd/devices/wmt_sflash.c | 585 +++++++++++++++++++++++++++++++++++++
5 files changed, 723 insertions(+), 1 deletion(-)
create mode 100644 drivers/mtd/devices/flash_jedec.c
create mode 100644 drivers/mtd/devices/flash_jedec.h
create mode 100644 drivers/mtd/devices/wmt_sflash.c
--
1.7.9.5
next reply other threads:[~2013-01-23 8:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 8:01 Tony Prisk [this message]
2013-01-23 8:01 ` [PATCH v3 0/2] Add Wondermedia Serial Flash controller support Tony Prisk
2013-01-23 8:01 ` Tony Prisk
2013-01-23 8:01 ` [PATCH v3 1/2] mtd: Add a common JEDEC flash device table Tony Prisk
2013-01-23 8:01 ` Tony Prisk
2013-01-23 8:01 ` Tony Prisk
2013-01-23 9:00 ` Matthieu CASTET
2013-01-23 9:00 ` Matthieu CASTET
2013-01-23 9:00 ` Matthieu CASTET
2013-01-23 18:28 ` Tony Prisk
2013-01-23 18:28 ` Tony Prisk
2013-01-23 18:28 ` Tony Prisk
2013-01-23 8:01 ` [PATCH v3 2/2] mtd: vt8500: Add support for Wondermedia Serial Flash Controller Tony Prisk
2013-01-23 8:01 ` Tony Prisk
2013-01-23 8:01 ` Tony Prisk
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=1358928068-12417-1-git-send-email-linux@prisktech.co.nz \
--to=linux@prisktech.co.nz \
--cc=dedekind1@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=vt8500-wm8505-linux-kernel@googlegroups.com \
/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.