co285.c 808 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * linux/arch/arm/mach-footbridge/co285.c
  3. *
  4. * CO285 machine fixup
  5. */
  6. #include <linux/init.h>
  7. #include <asm/hardware/dec21285.h>
  8. #include <asm/mach-types.h>
  9. #include <asm/mach/arch.h>
  10. #include "common.h"
  11. static void __init
  12. fixup_coebsa285(struct machine_desc *desc, struct tag *tags,
  13. char **cmdline, struct meminfo *mi)
  14. {
  15. extern unsigned long boot_memory_end;
  16. extern char boot_command_line[];
  17. mi->nr_banks = 1;
  18. mi->bank[0].start = PHYS_OFFSET;
  19. mi->bank[0].size = boot_memory_end;
  20. mi->bank[0].node = 0;
  21. *cmdline = boot_command_line;
  22. }
  23. MACHINE_START(CO285, "co-EBSA285")
  24. MAINTAINER("Mark van Doesburg")
  25. BOOT_MEM(0x00000000, DC21285_ARMCSR_BASE, 0x7cf00000)
  26. FIXUP(fixup_coebsa285)
  27. MAPIO(footbridge_map_io)
  28. INITIRQ(footbridge_init_irq)
  29. .timer = &footbridge_timer,
  30. MACHINE_END