-
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.
yaml --- r: 201396 b: refs/heads/master c: 58c7d9d h: refs/heads/master v: v3
- Loading branch information
Magnus Damm
authored and
Russell King
committed
Jul 29, 2010
1 parent
60fd7b3
commit a9ed861
Showing
355 changed files
with
4,003 additions
and
1,186 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: e910b63d009701ad4ebbeb089aba35707fa5d68e | ||
refs/heads/master: 58c7d9d2e6116ec694a5af5b8a0aca1467673899 |
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
File renamed without changes.
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
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,29 @@ | ||
/* | ||
* linux/arch/arm/boot/compressed/head-l7200.S | ||
* | ||
* Copyright (C) 2000 Steve Hill <sjhill@cotw.com> | ||
* | ||
* Some code borrowed from Nicolas Pitre's 'head-sa1100.S' file. This | ||
* is merged with head.S by the linker. | ||
*/ | ||
|
||
#include <asm/mach-types.h> | ||
|
||
#ifndef CONFIG_ARCH_L7200 | ||
#error What am I doing here... | ||
#endif | ||
|
||
.section ".start", "ax" | ||
|
||
__L7200_start: | ||
mov r0, #0x00100000 @ FLASH address of initrd | ||
mov r2, #0xf1000000 @ RAM address of initrd | ||
add r3, r2, #0x00700000 @ Size of initrd | ||
1: | ||
ldmia r0!, {r4, r5, r6, r7} | ||
stmia r2!, {r4, r5, r6, r7} | ||
cmp r2, r3 | ||
ble 1b | ||
|
||
mov r8, #0 @ Zero it out | ||
mov r7, #MACH_TYPE_L7200 @ Set architecture ID |
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,23 @@ | ||
CONFIG_EXPERIMENTAL=y | ||
CONFIG_SYSVIPC=y | ||
CONFIG_BSD_PROCESS_ACCT=y | ||
CONFIG_LOG_BUF_SHIFT=14 | ||
CONFIG_BLK_DEV_INITRD=y | ||
CONFIG_EMBEDDED=y | ||
# CONFIG_HOTPLUG is not set | ||
CONFIG_MODULES=y | ||
CONFIG_ARCH_L7200=y | ||
# CONFIG_ARM_THUMB is not set | ||
CONFIG_ZBOOT_ROM_TEXT=0x00010000 | ||
CONFIG_ZBOOT_ROM_BSS=0xf03e0000 | ||
CONFIG_ZBOOT_ROM=y | ||
CONFIG_CMDLINE="console=tty0 console=ttyLU1,115200 root=/dev/ram initrd=0xf1000000,0x005dac7b mem=32M" | ||
CONFIG_BINFMT_AOUT=y | ||
CONFIG_BLK_DEV_RAM=y | ||
# CONFIG_INPUT is not set | ||
# CONFIG_SERIO_SERPORT is not set | ||
# CONFIG_VT is not set | ||
CONFIG_SERIAL_NONSTANDARD=y | ||
CONFIG_EXT2_FS=y | ||
CONFIG_DEBUG_USER=y | ||
# CONFIG_CRC32 is not set |
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
* | ||
*/ | ||
|
||
#include <mach/hardware.h> | ||
#include <asm/hardware/clps7111.h> | ||
|
||
.macro addruart, rx, tmp | ||
|
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#ifndef __ARCH_KIRKWOOD_TSX1X_COMMON_H | ||
#define __ARCH_KIRKWOOD_TSX1X_COMMON_H | ||
|
||
extern void qnap_tsx1x_register_flash(void); | ||
extern void __init qnap_tsx1x_register_flash(void); | ||
extern void qnap_tsx1x_power_off(void); | ||
|
||
#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,11 @@ | ||
# | ||
# Makefile for the linux kernel. | ||
# | ||
|
||
# Object file lists. | ||
|
||
obj-y := core.o | ||
obj-m := | ||
obj-n := | ||
obj- := | ||
|
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,2 @@ | ||
zreladdr-y := 0xf0008000 | ||
|
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,100 @@ | ||
/* | ||
* linux/arch/arm/mm/mm-lusl7200.c | ||
* | ||
* Copyright (C) 2000 Steve Hill (sjhill@cotw.com) | ||
* | ||
* Extra MM routines for L7200 architecture | ||
*/ | ||
#include <linux/kernel.h> | ||
#include <linux/init.h> | ||
#include <linux/irq.h> | ||
#include <linux/device.h> | ||
|
||
#include <asm/types.h> | ||
#include <asm/irq.h> | ||
#include <asm/mach-types.h> | ||
#include <mach/hardware.h> | ||
#include <asm/page.h> | ||
|
||
#include <asm/mach/arch.h> | ||
#include <asm/mach/map.h> | ||
#include <asm/mach/irq.h> | ||
|
||
/* | ||
* IRQ base register | ||
*/ | ||
#define IRQ_BASE (IO_BASE_2 + 0x1000) | ||
|
||
/* | ||
* Normal IRQ registers | ||
*/ | ||
#define IRQ_STATUS (*(volatile unsigned long *) (IRQ_BASE + 0x000)) | ||
#define IRQ_RAWSTATUS (*(volatile unsigned long *) (IRQ_BASE + 0x004)) | ||
#define IRQ_ENABLE (*(volatile unsigned long *) (IRQ_BASE + 0x008)) | ||
#define IRQ_ENABLECLEAR (*(volatile unsigned long *) (IRQ_BASE + 0x00c)) | ||
#define IRQ_SOFT (*(volatile unsigned long *) (IRQ_BASE + 0x010)) | ||
#define IRQ_SOURCESEL (*(volatile unsigned long *) (IRQ_BASE + 0x018)) | ||
|
||
/* | ||
* Fast IRQ registers | ||
*/ | ||
#define FIQ_STATUS (*(volatile unsigned long *) (IRQ_BASE + 0x100)) | ||
#define FIQ_RAWSTATUS (*(volatile unsigned long *) (IRQ_BASE + 0x104)) | ||
#define FIQ_ENABLE (*(volatile unsigned long *) (IRQ_BASE + 0x108)) | ||
#define FIQ_ENABLECLEAR (*(volatile unsigned long *) (IRQ_BASE + 0x10c)) | ||
#define FIQ_SOFT (*(volatile unsigned long *) (IRQ_BASE + 0x110)) | ||
#define FIQ_SOURCESEL (*(volatile unsigned long *) (IRQ_BASE + 0x118)) | ||
|
||
static void l7200_mask_irq(unsigned int irq) | ||
{ | ||
IRQ_ENABLECLEAR = 1 << irq; | ||
} | ||
|
||
static void l7200_unmask_irq(unsigned int irq) | ||
{ | ||
IRQ_ENABLE = 1 << irq; | ||
} | ||
|
||
static struct irq_chip l7200_irq_chip = { | ||
.ack = l7200_mask_irq, | ||
.mask = l7200_mask_irq, | ||
.unmask = l7200_unmask_irq | ||
}; | ||
|
||
static void __init l7200_init_irq(void) | ||
{ | ||
int irq; | ||
|
||
IRQ_ENABLECLEAR = 0xffffffff; /* clear all interrupt enables */ | ||
FIQ_ENABLECLEAR = 0xffffffff; /* clear all fast interrupt enables */ | ||
|
||
for (irq = 0; irq < NR_IRQS; irq++) { | ||
set_irq_chip(irq, &l7200_irq_chip); | ||
set_irq_flags(irq, IRQF_VALID); | ||
set_irq_handler(irq, handle_level_irq); | ||
} | ||
|
||
init_FIQ(); | ||
} | ||
|
||
static struct map_desc l7200_io_desc[] __initdata = { | ||
{ IO_BASE, IO_START, IO_SIZE, MT_DEVICE }, | ||
{ IO_BASE_2, IO_START_2, IO_SIZE_2, MT_DEVICE }, | ||
{ AUX_BASE, AUX_START, AUX_SIZE, MT_DEVICE }, | ||
{ FLASH1_BASE, FLASH1_START, FLASH1_SIZE, MT_DEVICE }, | ||
{ FLASH2_BASE, FLASH2_START, FLASH2_SIZE, MT_DEVICE } | ||
}; | ||
|
||
static void __init l7200_map_io(void) | ||
{ | ||
iotable_init(l7200_io_desc, ARRAY_SIZE(l7200_io_desc)); | ||
} | ||
|
||
MACHINE_START(L7200, "LinkUp Systems L7200") | ||
/* Maintainer: Steve Hill / Scott McConnell */ | ||
.phys_io = 0x80040000, | ||
.io_pg_offst = ((0xd0000000) >> 18) & 0xfffc, | ||
.map_io = l7200_map_io, | ||
.init_irq = l7200_init_irq, | ||
MACHINE_END | ||
|
Oops, something went wrong.