Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
6bd631e1
Commit
6bd631e1
authored
Oct 29, 2008
by
Arve Hjønnevåg
Committed by
Daniel Walker
May 12, 2010
Browse files
[ARM] msm: halibut: Add memory configuration.
parent
a32d2feb
Changes
1
Show whitespace changes
Inline
Side-by-side
arch/arm/mach-msm/board-halibut.c
View file @
6bd631e1
...
...
@@ -26,6 +26,7 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/flash.h>
#include <asm/setup.h>
#include <mach/irqs.h>
#include <mach/board.h>
...
...
@@ -77,6 +78,15 @@ static void __init halibut_init(void)
platform_add_devices
(
devices
,
ARRAY_SIZE
(
devices
));
}
static
void
__init
halibut_fixup
(
struct
machine_desc
*
desc
,
struct
tag
*
tags
,
char
**
cmdline
,
struct
meminfo
*
mi
)
{
mi
->
nr_banks
=
1
;
mi
->
bank
[
0
].
start
=
PHYS_OFFSET
;
mi
->
bank
[
0
].
node
=
PHYS_TO_NID
(
PHYS_OFFSET
);
mi
->
bank
[
0
].
size
=
(
101
*
1024
*
1024
);
}
static
void
__init
halibut_map_io
(
void
)
{
msm_map_common_io
();
...
...
@@ -85,6 +95,7 @@ static void __init halibut_map_io(void)
MACHINE_START
(
HALIBUT
,
"Halibut Board (QCT SURF7200A)"
)
.
boot_params
=
0x10000100
,
.
fixup
=
halibut_fixup
,
.
map_io
=
halibut_map_io
,
.
init_irq
=
halibut_init_irq
,
.
init_machine
=
halibut_init
,
...
...
Write
Preview
Supports
Markdown
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