| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * linux/arch/arm/mach-footbridge/co285.c | 
|  | 3 | * | 
|  | 4 | * CO285 machine fixup | 
|  | 5 | */ | 
|  | 6 | #include <linux/init.h> | 
|  | 7 |  | 
|  | 8 | #include <asm/hardware/dec21285.h> | 
|  | 9 | #include <asm/mach-types.h> | 
|  | 10 |  | 
|  | 11 | #include <asm/mach/arch.h> | 
|  | 12 |  | 
|  | 13 | #include "common.h" | 
|  | 14 |  | 
|  | 15 | static void __init | 
|  | 16 | fixup_coebsa285(struct machine_desc *desc, struct tag *tags, | 
|  | 17 | char **cmdline, struct meminfo *mi) | 
|  | 18 | { | 
|  | 19 | extern unsigned long boot_memory_end; | 
|  | 20 | extern char boot_command_line[]; | 
|  | 21 |  | 
|  | 22 | mi->nr_banks      = 1; | 
|  | 23 | mi->bank[0].start = PHYS_OFFSET; | 
|  | 24 | mi->bank[0].size  = boot_memory_end; | 
|  | 25 | mi->bank[0].node  = 0; | 
|  | 26 |  | 
|  | 27 | *cmdline = boot_command_line; | 
|  | 28 | } | 
|  | 29 |  | 
|  | 30 | MACHINE_START(CO285, "co-EBSA285") | 
| Russell King | e9dea0c | 2005-07-03 17:38:58 +0100 | [diff] [blame] | 31 | /* Maintainer: Mark van Doesburg */ | 
| Russell King | e9dea0c | 2005-07-03 17:38:58 +0100 | [diff] [blame] | 32 | .phys_io	= DC21285_ARMCSR_BASE, | 
|  | 33 | .io_pg_offst	= ((0x7cf00000) >> 18) & 0xfffc, | 
|  | 34 | .fixup		= fixup_coebsa285, | 
|  | 35 | .map_io		= footbridge_map_io, | 
|  | 36 | .init_irq	= footbridge_init_irq, | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | .timer		= &footbridge_timer, | 
|  | 38 | MACHINE_END | 
|  | 39 |  |