-
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: 36583 b: refs/heads/master c: 7ae1f7e h: refs/heads/master i: 36581: 285679b 36579: 88ce9b9 36575: f7c6a02 v: v3
- Loading branch information
Lennert Buytenhek
authored and
Russell King
committed
Sep 25, 2006
1 parent
54eb32a
commit 322c276
Showing
15 changed files
with
105 additions
and
131 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: 3f7e5815f4b774270e6506962de37af85aa9c830 | ||
refs/heads/master: 7ae1f7ec525c32db441836ab0ab010b85cb819a2 |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
# | ||
# Makefile for the linux kernel. | ||
# | ||
|
||
obj-y := setup.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,38 @@ | ||
/* | ||
* arch/arm/plat-iop/setup.c | ||
* | ||
* Author: Nicolas Pitre <nico@cam.org> | ||
* Copyright (C) 2001 MontaVista Software, Inc. | ||
* Copyright (C) 2004 Intel Corporation. | ||
* | ||
* 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 <linux/mm.h> | ||
#include <linux/init.h> | ||
#include <asm/mach/map.h> | ||
#include <asm/hardware/iop3xx.h> | ||
|
||
/* | ||
* Standard IO mapping for all IOP3xx based systems | ||
*/ | ||
static struct map_desc iop3xx_std_desc[] __initdata = { | ||
{ /* mem mapped registers */ | ||
.virtual = IOP3XX_PERIPHERAL_VIRT_BASE, | ||
.pfn = __phys_to_pfn(IOP3XX_PERIPHERAL_PHYS_BASE), | ||
.length = IOP3XX_PERIPHERAL_SIZE, | ||
.type = MT_DEVICE, | ||
}, { /* PCI IO space */ | ||
.virtual = IOP3XX_PCI_LOWER_IO_VA, | ||
.pfn = __phys_to_pfn(IOP3XX_PCI_LOWER_IO_PA), | ||
.length = IOP3XX_PCI_IO_WINDOW_SIZE, | ||
.type = MT_DEVICE, | ||
}, | ||
}; | ||
|
||
void __init iop3xx_map_io(void) | ||
{ | ||
iotable_init(iop3xx_std_desc, ARRAY_SIZE(iop3xx_std_desc)); | ||
} |
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,43 @@ | ||
/* | ||
* include/asm-arm/hardware/iop3xx.h | ||
* | ||
* Intel IOP32X and IOP33X register definitions | ||
* | ||
* Author: Rory Bolt <rorybolt@pacbell.net> | ||
* Copyright (C) 2002 Rory Bolt | ||
* Copyright (C) 2004 Intel Corp. | ||
* | ||
* 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 __IOP3XX_H | ||
#define __IOP3XX_H | ||
|
||
/* | ||
* IOP3XX processor registers | ||
*/ | ||
#define IOP3XX_PERIPHERAL_PHYS_BASE 0xffffe000 | ||
#define IOP3XX_PERIPHERAL_VIRT_BASE 0xfeffe000 | ||
#define IOP3XX_PERIPHERAL_SIZE 0x00002000 | ||
#define IOP3XX_REG_ADDR(reg) (IOP3XX_PERIPHERAL_VIRT_BASE + (reg)) | ||
|
||
|
||
/* | ||
* IOP3XX I/O and Mem space regions for PCI autoconfiguration | ||
*/ | ||
#define IOP3XX_PCI_MEM_WINDOW_SIZE 0x04000000 | ||
#define IOP3XX_PCI_LOWER_MEM_PA 0x80000000 | ||
|
||
#define IOP3XX_PCI_IO_WINDOW_SIZE 0x00010000 | ||
#define IOP3XX_PCI_LOWER_IO_PA 0x90000000 | ||
#define IOP3XX_PCI_LOWER_IO_VA 0xfe000000 | ||
|
||
|
||
#ifndef __ASSEMBLY__ | ||
void iop3xx_map_io(void); | ||
#endif | ||
|
||
|
||
#endif |