Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
421d4675
Commit
421d4675
authored
Sep 30, 2005
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Move omap2 IO defines
Move omap2 IO defines
parent
0ac5bc1d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
16 deletions
+20
-16
arch/arm/mach-omap2/prcm.h
arch/arm/mach-omap2/prcm.h
+0
-4
arch/arm/mach-omap2/sram-fn.S
arch/arm/mach-omap2/sram-fn.S
+2
-1
include/asm-arm/arch-omap/hardware.h
include/asm-arm/arch-omap/hardware.h
+2
-6
include/asm-arm/arch-omap/io.h
include/asm-arm/arch-omap/io.h
+2
-2
include/asm-arm/arch-omap/omap24xx.h
include/asm-arm/arch-omap/omap24xx.h
+14
-3
No files found.
arch/arm/mach-omap2/prcm.h
View file @
421d4675
...
@@ -21,10 +21,6 @@
...
@@ -21,10 +21,6 @@
#ifndef __ASM_ARM_ARCH_DPM_PRCM_H
#ifndef __ASM_ARM_ARCH_DPM_PRCM_H
#define __ASM_ARM_ARCH_DPM_PRCM_H
#define __ASM_ARM_ARCH_DPM_PRCM_H
#define OMAP24XX_32KSYNCT_BASE (L4_24XX_PHYS + 0x4000)
#define OMAP24XX_PRCM_BASE (L4_24XX_PHYS + 0x8000)
#define OMAP24XX_SDRC_BASE (L3_24XX_PHYS + 0x9000)
/* SET_PERFORMANCE_LEVEL PARAMETERS */
/* SET_PERFORMANCE_LEVEL PARAMETERS */
#define PRCM_HALF_SPEED 1
#define PRCM_HALF_SPEED 1
#define PRCM_FULL_SPEED 2
#define PRCM_FULL_SPEED 2
...
...
arch/arm/mach-omap2/sram-fn.S
View file @
421d4675
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
#include <linux/linkage.h>
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <asm/assembler.h>
#include <asm/arch/io.h>
#include <asm/arch/io.h>
#include <asm/hardware.h>
#include "prcm.h"
#include "prcm.h"
#define TIMER_32KSYNCT_CR_V IO_ADDRESS(OMAP24XX_32KSYNCT_BASE + 0x010)
#define TIMER_32KSYNCT_CR_V IO_ADDRESS(OMAP24XX_32KSYNCT_BASE + 0x010)
...
...
include/asm-arm/arch-omap/hardware.h
View file @
421d4675
...
@@ -267,8 +267,6 @@
...
@@ -267,8 +267,6 @@
#define OMAP_LPG2_LCR (OMAP_LPG2_BASE + 0x00)
#define OMAP_LPG2_LCR (OMAP_LPG2_BASE + 0x00)
#define OMAP_LPG2_PMR (OMAP_LPG2_BASE + 0x04)
#define OMAP_LPG2_PMR (OMAP_LPG2_BASE + 0x04)
#ifndef __ASSEMBLER__
/*
/*
* ---------------------------------------------------------------------------
* ---------------------------------------------------------------------------
* Processor specific defines
* Processor specific defines
...
@@ -277,13 +275,11 @@
...
@@ -277,13 +275,11 @@
#include "omap730.h"
#include "omap730.h"
#include "omap1510.h"
#include "omap1510.h"
#ifdef CONFIG_ARCH_OMAP24XX
#include "omap24xx.h"
#include "omap24xx.h"
#endif
#include "omap16xx.h"
#include "omap16xx.h"
#ifndef __ASSEMBLER__
/*
/*
* ---------------------------------------------------------------------------
* ---------------------------------------------------------------------------
* Board specific defines
* Board specific defines
...
...
include/asm-arm/arch-omap/io.h
View file @
421d4675
...
@@ -65,10 +65,10 @@
...
@@ -65,10 +65,10 @@
#elif defined(CONFIG_ARCH_OMAP2)
#elif defined(CONFIG_ARCH_OMAP2)
/* We map both L3 and L4 on OMAP2 */
/* We map both L3 and L4 on OMAP2 */
#define L3_24XX_PHYS
0x68000000
#define L3_24XX_PHYS
L3_24XX_BASE
/* 0x68000000 */
#define L3_24XX_VIRT 0xf8000000
#define L3_24XX_VIRT 0xf8000000
#define L3_24XX_SIZE SZ_1M
/* 44kB of 128MB used, want 1MB sect */
#define L3_24XX_SIZE SZ_1M
/* 44kB of 128MB used, want 1MB sect */
#define L4_24XX_PHYS
0x48000000
#define L4_24XX_PHYS
L4_24XX_BASE
/* 0x48000000 */
#define L4_24XX_VIRT 0xd8000000
#define L4_24XX_VIRT 0xd8000000
#define L4_24XX_SIZE SZ_1M
/* 1MB of 128MB used, want 1MB sect */
#define L4_24XX_SIZE SZ_1M
/* 1MB of 128MB used, want 1MB sect */
#define IO_OFFSET 0x90000000
#define IO_OFFSET 0x90000000
...
...
include/asm-arm/arch-omap/omap24xx.h
View file @
421d4675
#ifndef __ASM_ARCH_OMAP24XX_H
#ifndef __ASM_ARCH_OMAP24XX_H
#define __ASM_ARCH_OMAP24XX_H
#define __ASM_ARCH_OMAP24XX_H
/*
* Please place only base defines here and put the rest in device
* specific headers. Note also that some of these defines are needed
* for omap1 to compile without adding ifdefs.
*/
#define L4_24XX_BASE 0x48000000
#define L3_24XX_BASE 0x68000000
/* interrupt controller */
/* interrupt controller */
#define OMAP24XX_IC_BASE (L4_24XX_
PHYS
+ 0xfe000)
#define OMAP24XX_IC_BASE (L4_24XX_
BASE
+ 0xfe000)
#define VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE)
#define VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE)
#define OMAP24XX_IVA_INTC_BASE 0x40000000
#define OMAP24XX_IVA_INTC_BASE 0x40000000
#define IRQ_SIR_IRQ 0x0040
#define IRQ_SIR_IRQ 0x0040
#define OMAP24XX_32KSYNCT_BASE (L4_24XX_BASE + 0x4000)
#define OMAP24XX_PRCM_BASE (L4_24XX_BASE + 0x8000)
#define OMAP24XX_SDRC_BASE (L3_24XX_BASE + 0x9000)
#endif
/* __ASM_ARCH_OMAP24XX_H */
#endif
/* __ASM_ARCH_OMAP24XX_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment