-
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] S3C24A0: Initial architecture support files
Initial architecture support for the S3C24A0 ARCH_S3C24A0. We don't yet add an kconfig entry in the main arch/arm/Kconfig file as the series is not complete, so that is left until enough support is in to be useful. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
- Loading branch information
Ben Dooks
committed
Dec 15, 2008
1 parent
ce46a9c
commit bcae8ae
Showing
7 changed files
with
85 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* arch/arm/mach-s3c24a0/include/mach/io.h | ||
* | ||
* Copyright 2008 Simtec Electronics | ||
* Ben Dooks <ben-linux@fluff.org> | ||
* | ||
* IO access and mapping routines for the S3C24A0 | ||
*/ | ||
|
||
#ifndef __ASM_ARM_ARCH_IO_H | ||
#define __ASM_ARM_ARCH_IO_H | ||
|
||
/* No current ISA/PCI bus support. */ | ||
#define __io(a) ((void __iomem *)(a)) | ||
#define __mem_pci(a) (a) | ||
|
||
#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,25 @@ | ||
/* linux/arch/arm/mach-s3c24a0/include/mach/system.h | ||
* | ||
* Copyright 2008 Simtec Electronics | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* | ||
* S3C24A0 - System function defines and includes | ||
* | ||
* 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. | ||
*/ | ||
|
||
#include <mach/hardware.h> | ||
#include <asm/io.h> | ||
|
||
#include <mach/map.h> | ||
|
||
static void arch_idle(void) | ||
{ | ||
/* currently no specific idle support. */ | ||
} | ||
|
||
void (*s3c24xx_reset_hook)(void); | ||
|
||
#include <asm/plat-s3c24xx/system-reset.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,18 @@ | ||
/* linux/arch/arm/mach-s3c24a0/include/mach/timex.h | ||
* | ||
* Copyright (c) 2008 Simtec Electronics | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* | ||
* S3C2410 - time parameters | ||
* | ||
* 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_TIMEX_H | ||
#define __ASM_ARCH_TIMEX_H | ||
|
||
#define CLOCK_TICK_RATE 12000000 | ||
|
||
#endif /* __ASM_ARCH_TIMEX_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,17 @@ | ||
/* linux/include/asm-arm/arch-s3c24ao/vmalloc.h | ||
* | ||
* Copyright 2008 Simtec Electronics <linux@simtec.co.uk> | ||
* 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. | ||
* | ||
* S3C24A0 vmalloc definition | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_VMALLOC_H | ||
#define __ASM_ARCH_VMALLOC_H | ||
|
||
#define VMALLOC_END (0xE0000000) | ||
|
||
#endif /* __ASM_ARCH_VMALLOC_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
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