-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ARM] 3240/2: AT91RM9200 support for 2.6 (Core)
Patch from SAN People Following changes were made to clock.c: 1) Replaced <asm/hardware/clock.h> with <linux/clk.h> 2) Removed old unused clk_enable & clk_disable. 3) Replaced clk_use/clk_unuse with clk_enable/clk_disable. Otherwise it's the same as the previous patch. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
- Loading branch information
SAN People
authored and
Russell King
committed
Jan 9, 2006
1 parent
50365c5
commit 73a59c1
Showing
32 changed files
with
3,280 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* linux/arch/arm/boot/compressed/head-at91rm9200.S | ||
* | ||
* Copyright (C) 2003 SAN People | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
*/ | ||
#include <asm/mach-types.h> | ||
|
||
.section ".start", "ax" | ||
|
||
@ Atmel AT91RM9200-DK : 262 | ||
mov r3, #(MACH_TYPE_AT91RM9200DK & 0xff) | ||
orr r3, r3, #(MACH_TYPE_AT91RM9200DK & 0xff00) | ||
cmp r7, r3 | ||
beq 99f | ||
|
||
@ Cogent CSB337 : 399 | ||
mov r3, #(MACH_TYPE_CSB337 & 0xff) | ||
orr r3, r3, #(MACH_TYPE_CSB337 & 0xff00) | ||
cmp r7, r3 | ||
beq 99f | ||
|
||
@ Cogent CSB637 : 648 | ||
mov r3, #(MACH_TYPE_CSB637 & 0xff) | ||
orr r3, r3, #(MACH_TYPE_CSB637 & 0xff00) | ||
cmp r7, r3 | ||
beq 99f | ||
|
||
@ Atmel AT91RM9200-EK : 705 | ||
mov r3, #(MACH_TYPE_AT91RM9200EK & 0xff) | ||
orr r3, r3, #(MACH_TYPE_AT91RM9200EK & 0xff00) | ||
cmp r7, r3 | ||
beq 99f | ||
|
||
@ Conitec Carmeva : 769 | ||
mov r3, #(MACH_TYPE_CARMEVA & 0xff) | ||
orr r3, r3, #(MACH_TYPE_CARMEVA & 0xff00) | ||
cmp r7, r3 | ||
beq 99f | ||
|
||
@ KwikByte KB920x : 612 | ||
mov r3, #(MACH_TYPE_KB9200 & 0xff) | ||
orr r3, r3, #(MACH_TYPE_KB9200 & 0xff00) | ||
cmp r7, r3 | ||
beq 99f | ||
|
||
@ Unknown board, use the AT91RM9200DK board | ||
@ mov r7, #MACH_TYPE_AT91RM9200 | ||
mov r7, #(MACH_TYPE_AT91RM9200DK & 0xff) | ||
orr r7, r7, #(MACH_TYPE_AT91RM9200DK & 0xff00) | ||
|
||
99: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
if ARCH_AT91RM9200 | ||
|
||
menu "AT91RM9200 Implementations" | ||
|
||
comment "AT91RM9200 Board Type" | ||
|
||
config ARCH_AT91RM9200DK | ||
bool "Atmel AT91RM9200-DK Development board" | ||
depends on ARCH_AT91RM9200 | ||
help | ||
Select this if you are using Atmel's AT91RM9200-DK Development board | ||
|
||
config MACH_AT91RM9200EK | ||
bool "Atmel AT91RM9200-EK Evaluation Kit" | ||
depends on ARCH_AT91RM9200 | ||
help | ||
Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit | ||
|
||
config MACH_CSB337 | ||
bool "Cogent CSB337 board" | ||
depends on ARCH_AT91RM9200 | ||
help | ||
Select this if you are using Cogent's CSB337 board | ||
|
||
config MACH_CSB637 | ||
bool "Cogent CSB637 board" | ||
depends on ARCH_AT91RM9200 | ||
help | ||
Select this if you are using Cogent's CSB637 board | ||
|
||
config MACH_CARMEVA | ||
bool "Conitec's ARM&EVA" | ||
depends on ARCH_AT91RM9200 | ||
help | ||
Select this if you are using Conitec's AT91RM9200-MCU-Module | ||
|
||
config MACH_KB9200 | ||
bool "KwikByte's KB920x" | ||
depends on ARCH_AT91RM9200 | ||
help | ||
Select this if you are using KwikByte's KB920x board | ||
|
||
|
||
comment "AT91RM9200 Feature Selections" | ||
|
||
config AT91_PROGRAMMABLE_CLOCKS | ||
bool "Programmable Clocks" | ||
help | ||
Select this if you need to program one or more of the PCK0..PCK3 | ||
programmable clock outputs. | ||
|
||
endmenu | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# Makefile for the linux kernel. | ||
# | ||
|
||
obj-y := clock.o irq.o time.o gpio.o common.o devices.o | ||
obj-m := | ||
obj-n := | ||
obj- := | ||
|
||
# Board-specific support | ||
#obj-$(CONFIG_ARCH_AT91RM9200DK) += board-dk.o | ||
#obj-$(CONFIG_MACH_AT91RM9200EK) += board-ek.o | ||
#obj-$(CONFIG_MACH_CSB337) += board-csb337.o | ||
#obj-$(CONFIG_MACH_CSB637) += board-csb637.o | ||
#obj-$(CONFIG_MACH_CARMEVA) += board-carmeva.o | ||
#obj-$(CONFIG_MACH_KB9200) += board-kb9202.o | ||
|
||
# LEDs support | ||
#led-$(CONFIG_ARCH_AT91RM9200DK) += leds.o | ||
#led-$(CONFIG_MACH_AT91RM9200EK) += leds.o | ||
#led-$(CONFIG_MACH_CSB337) += leds.o | ||
#led-$(CONFIG_MACH_CSB637) += leds.o | ||
#led-$(CONFIG_MACH_KB9200) += leds.o | ||
obj-$(CONFIG_LEDS) += $(led-y) | ||
|
||
# VGA support | ||
#obj-$(CONFIG_FB_S1D13XXX) += ics1523.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Note: the following conditions must always be true: | ||
# ZRELADDR == virt_to_phys(TEXTADDR) | ||
# PARAMS_PHYS must be within 4MB of ZRELADDR | ||
# INITRD_PHYS must be in RAM | ||
|
||
zreladdr-y := 0x20008000 | ||
params_phys-y := 0x20000100 | ||
initrd_phys-y := 0x20410000 | ||
|
Oops, something went wrong.