diff options
Diffstat (limited to 'arch/arm/mach-gemini')
| -rw-r--r-- | arch/arm/mach-gemini/include/mach/io.h | 18 | ||||
| -rw-r--r-- | arch/arm/mach-gemini/include/mach/memory.h | 19 | ||||
| -rw-r--r-- | arch/arm/mach-gemini/include/mach/vmalloc.h | 10 |
3 files changed, 47 insertions, 0 deletions
diff --git a/arch/arm/mach-gemini/include/mach/io.h b/arch/arm/mach-gemini/include/mach/io.h new file mode 100644 index 00000000000..c548056b98b --- /dev/null +++ b/arch/arm/mach-gemini/include/mach/io.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2001-2006 Storlink, Corp. | ||
| 3 | * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | */ | ||
| 10 | #ifndef __MACH_IO_H | ||
| 11 | #define __MACH_IO_H | ||
| 12 | |||
| 13 | #define IO_SPACE_LIMIT 0xffffffff | ||
| 14 | |||
| 15 | #define __io(a) __typesafe_io(a) | ||
| 16 | #define __mem_pci(a) (a) | ||
| 17 | |||
| 18 | #endif /* __MACH_IO_H */ | ||
diff --git a/arch/arm/mach-gemini/include/mach/memory.h b/arch/arm/mach-gemini/include/mach/memory.h new file mode 100644 index 00000000000..a50915f764d --- /dev/null +++ b/arch/arm/mach-gemini/include/mach/memory.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2001-2006 Storlink, Corp. | ||
| 3 | * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | */ | ||
| 10 | #ifndef __MACH_MEMORY_H | ||
| 11 | #define __MACH_MEMORY_H | ||
| 12 | |||
| 13 | #ifdef CONFIG_GEMINI_MEM_SWAP | ||
| 14 | # define PLAT_PHYS_OFFSET UL(0x00000000) | ||
| 15 | #else | ||
| 16 | # define PLAT_PHYS_OFFSET UL(0x10000000) | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #endif /* __MACH_MEMORY_H */ | ||
diff --git a/arch/arm/mach-gemini/include/mach/vmalloc.h b/arch/arm/mach-gemini/include/mach/vmalloc.h new file mode 100644 index 00000000000..45371eb86fc --- /dev/null +++ b/arch/arm/mach-gemini/include/mach/vmalloc.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | */ | ||
| 9 | |||
| 10 | #define VMALLOC_END 0xf0000000UL | ||
