]> err.no Git - linux-2.6/commitdiff
[ARM] 4231/1: AT91: Merge and typo fixes.
authorAndrew Victor <andrew@sanpeople.com>
Thu, 22 Feb 2007 06:34:56 +0000 (07:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Feb 2007 14:53:30 +0000 (14:53 +0000)
The duplicate file "include/asm-arm/arch-at91rm9200/entry-macro.S" can
be removed - it was already moved to include/asm-arm/arch-at91/.

Fix 3 small typo's - two in comments, and the incorrect clock was
specified for the LCD device.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/at91sam9263.c
arch/arm/mach-at91/at91sam9263_devices.c
include/asm-arm/arch-at91/hardware.h
include/asm-arm/arch-at91rm9200/entry-macro.S [deleted file]

index 6aa342e8f1b1fc6c67142aeac0c9c77774527b72..0e89a7fca3fa53df2bdbe2e799526903847d8477 100644 (file)
@@ -124,7 +124,7 @@ static struct clk isi_clk = {
 };
 static struct clk lcdc_clk = {
        .name           = "lcdc_clk",
-       .pmc_mask       = 1 << AT91SAM9263_ID_ISI,
+       .pmc_mask       = 1 << AT91SAM9263_ID_LCDC,
        .type           = CLK_TYPE_PERIPHERAL,
 };
 static struct clk ohci_clk = {
index d9af7ca58bce9f9d160e32d1705adc96262479ec..b77121f27f34378f97d742ab5b9132269db8b9b8 100644 (file)
@@ -553,7 +553,7 @@ void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices)
        if (enable_spi0) {
                at91_set_B_periph(AT91_PIN_PA0, 0);     /* SPI0_MISO */
                at91_set_B_periph(AT91_PIN_PA1, 0);     /* SPI0_MOSI */
-               at91_set_B_periph(AT91_PIN_PA2, 0);     /* SPI1_SPCK */
+               at91_set_B_periph(AT91_PIN_PA2, 0);     /* SPI0_SPCK */
 
                at91_clock_associate("spi0_clk", &at91sam9263_spi0_device.dev, "spi_clk");
                platform_device_register(&at91sam9263_spi0_device);
index eaaf1c12b75330c9d1fbf52a46df61e71e8ac069..28133e0154dd880fd0af57c9080663649adaf0ce 100644 (file)
@@ -31,7 +31,7 @@
 
 /*
  * Remap the peripherals from address 0xFFF78000 .. 0xFFFFFFFF
- * to 0xFEF78000 .. 0xFF000000.  (5444Kb)
+ * to 0xFEF78000 .. 0xFF000000.  (544Kb)
  */
 #define AT91_IO_PHYS_BASE      0xFFF78000
 #define AT91_IO_SIZE           (0xFFFFFFFF - AT91_IO_PHYS_BASE + 1)
diff --git a/include/asm-arm/arch-at91rm9200/entry-macro.S b/include/asm-arm/arch-at91rm9200/entry-macro.S
deleted file mode 100644 (file)
index 0e0aadf..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * include/asm-arm/arch-at91rm9200/entry-macro.S
- *
- *  Copyright (C) 2003-2005 SAN People
- *
- * Low-level IRQ helper macros for AT91RM9200 platforms
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
-
-#include <asm/hardware.h>
-#include <asm/arch/at91_aic.h>
-
-       .macro  disable_fiq
-       .endm
-
-       .macro  get_irqnr_preamble, base, tmp
-       .endm
-
-       .macro  arch_ret_to_user, tmp1, tmp2
-       .endm
-
-       .macro  get_irqnr_and_base, irqnr, irqstat, base, tmp
-       ldr     \base, =(AT91_VA_BASE_SYS)              @ base virtual address of SYS peripherals
-       ldr     \irqnr, [\base, #AT91_AIC_IVR]          @ read IRQ vector register: de-asserts nIRQ to processor (and clears interrupt)
-       ldr     \irqstat, [\base, #AT91_AIC_ISR]        @ read interrupt source number
-       teq     \irqstat, #0                            @ ISR is 0 when no current interrupt, or spurious interrupt
-       streq   \tmp, [\base, #AT91_AIC_EOICR]          @ not going to be handled further, then ACK it now.
-       .endm
-