Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175379
b: refs/heads/master
c: 5c43d49
h: refs/heads/master
i:
  175377: c395b53
  175375: 340f3ed
v: v3
  • Loading branch information
Pavel Machek authored and Daniel Walker committed Nov 20, 2009
1 parent beeb1fb commit 4d9a179
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: 348ee123a15ec064c0c4c98ecb5fbf4737153887
refs/heads/master: 5c43d49aec499973b51e574af871c8918598c2db
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-msm/board-dream.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/setup.h>

#include <mach/board.h>
#include <mach/hardware.h>
Expand All @@ -44,6 +45,15 @@ static void __init trout_init_irq(void)
msm_init_irq();
}

static void __init trout_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 trout_init(void)
{
platform_add_devices(devices, ARRAY_SIZE(devices));
Expand Down Expand Up @@ -75,6 +85,7 @@ MACHINE_START(TROUT, "HTC Dream")
.phys_io = MSM_DEBUG_UART_PHYS,
.io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
.boot_params = 0x10000100,
.fixup = trout_fixup,
.map_io = trout_map_io,
.init_irq = trout_init_irq,
.init_machine = trout_init,
Expand Down

0 comments on commit 4d9a179

Please sign in to comment.