~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-at91/board-yl-9200.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
#include <mach/board.h>
46
46
#include <mach/gpio.h>
47
47
#include <mach/at91rm9200_mc.h>
 
48
#include <mach/cpu.h>
48
49
 
49
50
#include "generic.h"
50
51
 
51
52
 
52
 
static void __init yl9200_map_io(void)
 
53
static void __init yl9200_init_early(void)
53
54
{
 
55
        /* Set cpu type: PQFP */
 
56
        at91rm9200_set_type(ARCH_REVISON_9200_PQFP);
 
57
 
54
58
        /* Initialize processor: 18.432 MHz crystal */
55
 
        at91rm9200_initialize(18432000, AT91RM9200_PQFP);
 
59
        at91rm9200_initialize(18432000);
56
60
 
57
61
        /* Setup the LEDs D2=PB17 (timer), D3=PB16 (cpu) */
58
62
        at91_init_leds(AT91_PIN_PB16, AT91_PIN_PB17);
594
598
 
595
599
MACHINE_START(YL9200, "uCdragon YL-9200")
596
600
        /* Maintainer: S.Birtles */
597
 
        .boot_params    = AT91_SDRAM_BASE + 0x100,
598
601
        .timer          = &at91rm9200_timer,
599
 
        .map_io         = yl9200_map_io,
 
602
        .map_io         = at91rm9200_map_io,
 
603
        .init_early     = yl9200_init_early,
600
604
        .init_irq       = yl9200_init_irq,
601
605
        .init_machine   = yl9200_board_init,
602
606
MACHINE_END