Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192137
b: refs/heads/master
c: 6bd631e
h: refs/heads/master
i:
  192135: acadd3e
v: v3
  • Loading branch information
Arve Hjønnevåg authored and Daniel Walker committed May 12, 2010
1 parent d270943 commit 188aa83
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a32d2feb80bb2d186d415ed8bb4997148add0bd1
refs/heads/master: 6bd631e17eaa0d045b259ff7a6625bfe96c15283
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-msm/board-halibut.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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();
Expand All @@ -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,
Expand Down

0 comments on commit 188aa83

Please sign in to comment.