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
Kirill Smelkov
linux
Commits
865feb82
Commit
865feb82
authored
Jan 27, 2004
by
Frank Becker
Committed by
Russell King
Jan 27, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM PATCH] 1744/1: SA Cerfboard/cube update (flash)
Patch from Frank Becker Minor updates to cerf flash partitioning.
parent
94261f38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
33 deletions
+17
-33
drivers/mtd/maps/sa1100-flash.c
drivers/mtd/maps/sa1100-flash.c
+17
-33
No files found.
drivers/mtd/maps/sa1100-flash.c
View file @
865feb82
...
@@ -154,50 +154,34 @@ static struct mtd_partition badge4_partitions[] = {
...
@@ -154,50 +154,34 @@ static struct mtd_partition badge4_partitions[] = {
#ifdef CONFIG_SA1100_CERF
#ifdef CONFIG_SA1100_CERF
#ifdef CONFIG_SA1100_CERF_FLASH_32MB
#ifdef CONFIG_SA1100_CERF_FLASH_32MB
static
struct
mtd_partition
cerf_partitions
[]
=
{
# define CERF_FLASH_SIZE 0x02000000
{
.
name
=
"firmware"
,
.
size
=
0x00040000
,
.
offset
=
0
,
},
{
.
name
=
"params"
,
.
size
=
0x00040000
,
.
offset
=
0x00040000
,
},
{
.
name
=
"kernel"
,
.
size
=
0x00100000
,
.
offset
=
0x00080000
,
},
{
.
name
=
"rootdisk"
,
.
size
=
0x01E80000
,
.
offset
=
0x00180000
,
}
};
#elif defined CONFIG_SA1100_CERF_FLASH_16MB
#elif defined CONFIG_SA1100_CERF_FLASH_16MB
# define CERF_FLASH_SIZE 0x01000000
#elif defined CONFIG_SA1100_CERF_FLASH_8MB
# define CERF_FLASH_SIZE 0x00800000
#else
# error "Undefined flash size for CERF in sa1100-flash.c"
#endif
static
struct
mtd_partition
cerf_partitions
[]
=
{
static
struct
mtd_partition
cerf_partitions
[]
=
{
{
{
.
name
=
"
firmware
"
,
.
name
=
"
Bootloader
"
,
.
size
=
0x00020000
,
.
size
=
0x00020000
,
.
offset
=
0
,
.
offset
=
0
x00000000
,
},
{
},
{
.
name
=
"
p
arams"
,
.
name
=
"
P
arams"
,
.
size
=
0x000
2
0000
,
.
size
=
0x000
4
0000
,
.
offset
=
0x00020000
,
.
offset
=
0x00020000
,
},
{
},
{
.
name
=
"
k
ernel"
,
.
name
=
"
K
ernel"
,
.
size
=
0x00100000
,
.
size
=
0x00100000
,
.
offset
=
0x000
4
0000
,
.
offset
=
0x000
6
0000
,
},
{
},
{
.
name
=
"
rootdisk
"
,
.
name
=
"
Filesystem
"
,
.
size
=
0x00EC
0000
,
.
size
=
CERF_FLASH_SIZE
-
0x0016
0000
,
.
offset
=
0x001
4
0000
,
.
offset
=
0x001
6
0000
,
}
}
};
};
#elif defined CONFIG_SA1100_CERF_FLASH_8MB
# error "Unwritten type definition"
#else
# error "Undefined memory orientation for CERF in sa1100-flash.c"
#endif
#endif
#endif
#ifdef CONFIG_SA1100_CONSUS
#ifdef CONFIG_SA1100_CONSUS
...
...
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