Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
cb96cf1a
Commit
cb96cf1a
authored
Nov 11, 2008
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] MX3: add NAND support
Signed-off-by:
Sascha Hauer
<
s.hauer@pengutronix.de
>
parent
01f71a37
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
arch/arm/mach-mx3/devices.c
arch/arm/mach-mx3/devices.c
+19
-0
arch/arm/mach-mx3/devices.h
arch/arm/mach-mx3/devices.h
+1
-0
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Kconfig
+1
-1
No files found.
arch/arm/mach-mx3/devices.c
View file @
cb96cf1a
...
...
@@ -160,3 +160,22 @@ struct platform_device mxc_w1_master_device = {
.
num_resources
=
ARRAY_SIZE
(
mxc_w1_master_resources
),
.
resource
=
mxc_w1_master_resources
,
};
static
struct
resource
mxc_nand_resources
[]
=
{
{
.
start
=
NFC_BASE_ADDR
,
.
end
=
NFC_BASE_ADDR
+
0xfff
,
.
flags
=
IORESOURCE_MEM
},
{
.
start
=
MXC_INT_NANDFC
,
.
end
=
MXC_INT_NANDFC
,
.
flags
=
IORESOURCE_IRQ
},
};
struct
platform_device
mxc_nand_device
=
{
.
name
=
"mxc_nand"
,
.
id
=
0
,
.
num_resources
=
ARRAY_SIZE
(
mxc_nand_resources
),
.
resource
=
mxc_nand_resources
,
};
arch/arm/mach-mx3/devices.h
View file @
cb96cf1a
...
...
@@ -5,3 +5,4 @@ extern struct platform_device mxc_uart_device2;
extern
struct
platform_device
mxc_uart_device3
;
extern
struct
platform_device
mxc_uart_device4
;
extern
struct
platform_device
mxc_w1_master_device
;
extern
struct
platform_device
mxc_nand_device
;
drivers/mtd/nand/Kconfig
View file @
cb96cf1a
...
...
@@ -408,7 +408,7 @@ config MTD_NAND_FSL_UPM
config MTD_NAND_MXC
tristate "MXC NAND support"
depends on ARCH_MX2
depends on ARCH_MX2
|| ARCH_MX3
help
This enables the driver for the NAND flash controller on the
MXC processors.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment