-
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.
- Loading branch information
Ben Dooks
committed
Dec 15, 2008
1 parent
cc624f2
commit 51a4e13
Showing
7 changed files
with
141 additions
and
1 deletion.
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: a08ab63761730634bbbf8f361d1a058c1f4af9c5 | ||
refs/heads/master: d521f87e9c642dbc820cb839039e25a05cb02151 |
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,16 @@ | ||
/* linux/arch/arm/mach-s3c6400/include/mach/dma.h | ||
* | ||
* Copyright 2008 Openmoko, Inc. | ||
* Copyright 2008 Simtec Electronics | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* http://armlinux.simtec.co.uk/ | ||
* | ||
* S3C6400 - DMA support | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_DMA_H | ||
#define __ASM_ARCH_DMA_H __FILE__ | ||
|
||
/* currently nothing here, placeholder */ | ||
|
||
#endif /* __ASM_ARCH_IRQ_H */ |
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,22 @@ | ||
/* arch/arm/mach-s3c6400/include/mach/gpio.h | ||
* | ||
* Copyright 2008 Openmoko, Inc. | ||
* Copyright 2008 Simtec Electronics | ||
* http://armlinux.simtec.co.uk/ | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* | ||
* S3C6400 - GPIO lib support | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#define gpio_get_value __gpio_get_value | ||
#define gpio_set_value __gpio_set_value | ||
#define gpio_cansleep __gpio_cansleep | ||
#define gpio_to_irq __gpio_to_irq | ||
|
||
#define ARCH_NR_GPIOS 188 | ||
|
||
#include <asm-generic/gpio.h> |
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,20 @@ | ||
/* linux/arch/arm/mach-s3c6400/include/mach/irqs.h | ||
* | ||
* Copyright 2008 Openmoko, Inc. | ||
* Copyright 2008 Simtec Electronics | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* http://armlinux.simtec.co.uk/ | ||
* | ||
* S3C6400 - IRQ definitions | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_IRQS_H | ||
#define __ASM_ARCH_IRQS_H __FILE__ | ||
|
||
#ifndef __ASM_ARM_IRQ_H | ||
#error "Do not include this directly, instead #include <asm/irq.h>" | ||
#endif | ||
|
||
#include <plat/irqs.h> | ||
|
||
#endif /* __ASM_ARCH_IRQ_H */ |
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,20 @@ | ||
/* linux/arch/arm/mach-s3c6400/include/mach/regs-irq.h | ||
* | ||
* Copyright 2008 Openmoko, Inc. | ||
* Copyright 2008 Simtec Electronics | ||
* http://armlinux.simtec.co.uk/ | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* | ||
* S3C64XX - IRQ register definitions | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_REGS_IRQ_H | ||
#define __ASM_ARCH_REGS_IRQ_H __FILE__ | ||
|
||
#include <asm/hardware/vic.h> | ||
|
||
#endif /* __ASM_ARCH_6400_REGS_IRQ_H */ |
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,24 @@ | ||
/* linux/arch/arm/mach-s3c6400/include/mach/system.h | ||
* | ||
* Copyright 2008 Openmoko, Inc. | ||
* Copyright 2008 Simtec Electronics | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* http://armlinux.simtec.co.uk/ | ||
* | ||
* S3C6400 - system implementation | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_SYSTEM_H | ||
#define __ASM_ARCH_SYSTEM_H __FILE__ | ||
|
||
static void arch_idle(void) | ||
{ | ||
/* nothing here yet */ | ||
} | ||
|
||
static void arch_reset(char mode) | ||
{ | ||
/* nothing here yet */ | ||
} | ||
|
||
#endif /* __ASM_ARCH_IRQ_H */ |
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,38 @@ | ||
/* linux/arch/arm/plat-s3c64xx/include/mach/irqs.h | ||
* | ||
* Copyright 2008 Openmoko, Inc. | ||
* Copyright 2008 Simtec Electronics | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* http://armlinux.simtec.co.uk/ | ||
* | ||
* S3C64XX - Common IRQ support | ||
*/ | ||
|
||
#ifndef __ASM_PLAT_S3C64XX_IRQS_H | ||
#define __ASM_PLAT_S3C64XX_IRQS_H __FILE__ | ||
|
||
/* we keep the first set of CPU IRQs out of the range of | ||
* the ISA space, so that the PC104 has them to itself | ||
* and we don't end up having to do horrible things to the | ||
* standard ISA drivers.... | ||
*/ | ||
|
||
#define S3C_IRQ_OFFSET (16) | ||
|
||
#define S3C_IRQ(x) ((x) + S3C_IRQ_OFFSET) | ||
|
||
/* Since the IRQ_EINT(x) are a linear mapping on current s3c64xx series | ||
* we just defined them as an IRQ_EINT(x) macro from S3C_IRQ_EINT_BASE | ||
* which we place after the pair of VICs. */ | ||
|
||
#define S3C_IRQ_EINT_BASE S3C_IRQ(64) | ||
|
||
#define S3C_EINT(x) ((x) + S3C_IRQ_EINT_BASE) | ||
|
||
/* Define NR_IRQs here, machine specific can always re-define. | ||
* Currently the IRQ_EINT27 is the last one we can have. */ | ||
|
||
#define NR_IRQS (S3C_EINT(27) + 1) | ||
|
||
#endif /* __ASM_PLAT_S3C64XX_IRQS_H */ | ||
|