Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
U
uboot-imx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
uboot-imx
Commits
fd2f5658
Commit
fd2f5658
authored
Jun 06, 2011
by
Eric Benard
Committed by
Albert ARIBAUD
Jun 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/asm/arch-at91: update several .h files to ATMEL_xxx name scheme
Signed-off-by:
Eric Bénard
<
eric@eukrea.com
>
parent
d0a94620
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
28 deletions
+28
-28
arch/arm/include/asm/arch-at91/at91_matrix.h
arch/arm/include/asm/arch-at91/at91_matrix.h
+5
-5
arch/arm/include/asm/arch-at91/at91_rstc.h
arch/arm/include/asm/arch-at91/at91_rstc.h
+1
-1
arch/arm/include/asm/arch-at91/at91_wdt.h
arch/arm/include/asm/arch-at91/at91_wdt.h
+1
-1
arch/arm/include/asm/arch-at91/at91sam9_sdramc.h
arch/arm/include/asm/arch-at91/at91sam9_sdramc.h
+15
-15
arch/arm/include/asm/arch-at91/at91sam9_smc.h
arch/arm/include/asm/arch-at91/at91sam9_smc.h
+6
-6
No files found.
arch/arm/include/asm/arch-at91/at91_matrix.h
View file @
fd2f5658
...
...
@@ -26,18 +26,18 @@
#ifdef __ASSEMBLY__
#if defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9G20)
#define AT91_ASM_MATRIX_CSA0 (AT
91_MATRIX_BASE
+ 0x11C)
#define AT91_ASM_MATRIX_CSA0 (AT
MEL_BASE_MATRIX
+ 0x11C)
#elif defined(CONFIG_AT91SAM9261)
#define AT91_ASM_MATRIX_CSA0 (AT
91_MATRIX_BASE
+ 0x30)
#define AT91_ASM_MATRIX_CSA0 (AT
MEL_BASE_MATRIX
+ 0x30)
#elif defined(CONFIG_AT91SAM9263)
#define AT91_ASM_MATRIX_CSA0 (AT
91_MATRIX_BASE
+ 0x120)
#define AT91_ASM_MATRIX_CSA0 (AT
MEL_BASE_MATRIX
+ 0x120)
#elif defined(CONFIG_AT91SAM9G45)
#define AT91_ASM_MATRIX_CSA0 (AT
91_MATRIX_BASE
+ 0x128)
#define AT91_ASM_MATRIX_CSA0 (AT
MEL_BASE_MATRIX
+ 0x128)
#else
#error AT91_ASM_MATRIX_CSA0 is not definied for current CPU
#endif
#define AT91_ASM_MATRIX_MCFG AT
91_MATRIX_BASE
#define AT91_ASM_MATRIX_MCFG AT
MEL_BASE_MATRIX
#else
#if defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9G20)
...
...
arch/arm/include/asm/arch-at91/at91_rstc.h
View file @
fd2f5658
...
...
@@ -16,7 +16,7 @@
#ifndef AT91_RSTC_H
#define AT91_RSTC_H
#define AT91_ASM_RSTC_MR (AT
91_RSTC_BASE
+ 0x08)
#define AT91_ASM_RSTC_MR (AT
MEL_BASE_RSTC
+ 0x08)
#ifndef __ASSEMBLY__
...
...
arch/arm/include/asm/arch-at91/at91_wdt.h
View file @
fd2f5658
...
...
@@ -19,7 +19,7 @@
#ifdef __ASSEMBLY__
#define AT91_ASM_WDT_MR (AT
91_WDT_BASE
+ 0x04)
#define AT91_ASM_WDT_MR (AT
MEL_BASE_WDT
+ 0x04)
#else
...
...
arch/arm/include/asm/arch-at91/at91sam9_sdramc.h
View file @
fd2f5658
...
...
@@ -19,19 +19,19 @@
#ifdef __ASSEMBLY__
#ifndef AT
91_SDRAMC_BASE
#define AT
91_SDRAMC_BASE
AT91_SDRAMC0_BASE
#ifndef AT
MEL_BASE_SDRAMC
#define AT
MEL_BASE_SDRAMC
AT91_SDRAMC0_BASE
#endif
#define AT91_ASM_SDRAMC_MR AT
91_SDRAMC_BASE
#define AT91_ASM_SDRAMC_TR (AT
91_SDRAMC_BASE
+ 0x04)
#define AT91_ASM_SDRAMC_CR (AT
91_SDRAMC_BASE
+ 0x08)
#define AT91_ASM_SDRAMC_MDR (AT
91_SDRAMC_BASE
+ 0x24)
#define AT91_ASM_SDRAMC_MR AT
MEL_BASE_SDRAMC
#define AT91_ASM_SDRAMC_TR (AT
MEL_BASE_SDRAMC
+ 0x04)
#define AT91_ASM_SDRAMC_CR (AT
MEL_BASE_SDRAMC
+ 0x08)
#define AT91_ASM_SDRAMC_MDR (AT
MEL_BASE_SDRAMC
+ 0x24)
#endif
/* SDRAM Controller (SDRAMC) registers */
#define AT91_SDRAMC_MR (AT
91
_SDRAMC + 0x00)
/* SDRAM Controller Mode Register */
#define AT91_SDRAMC_MR (AT
MEL_BASE
_SDRAMC + 0x00)
/* SDRAM Controller Mode Register */
#define AT91_SDRAMC_MODE (0xf << 0)
/* Command Mode */
#define AT91_SDRAMC_MODE_NORMAL 0
#define AT91_SDRAMC_MODE_NOP 1
...
...
@@ -41,10 +41,10 @@
#define AT91_SDRAMC_MODE_EXT_LMR 5
#define AT91_SDRAMC_MODE_DEEP 6
#define AT91_SDRAMC_TR (AT
91
_SDRAMC + 0x04)
/* SDRAM Controller Refresh Timer Register */
#define AT91_SDRAMC_TR (AT
MEL_BASE
_SDRAMC + 0x04)
/* SDRAM Controller Refresh Timer Register */
#define AT91_SDRAMC_COUNT (0xfff << 0)
/* Refresh Timer Counter */
#define AT91_SDRAMC_CR (AT
91
_SDRAMC + 0x08)
/* SDRAM Controller Configuration Register */
#define AT91_SDRAMC_CR (AT
MEL_BASE
_SDRAMC + 0x08)
/* SDRAM Controller Configuration Register */
#define AT91_SDRAMC_NC (3 << 0)
/* Number of Column Bits */
#define AT91_SDRAMC_NC_8 (0 << 0)
#define AT91_SDRAMC_NC_9 (1 << 0)
...
...
@@ -71,7 +71,7 @@
#define AT91_SDRAMC_TRAS (0xf << 24)
/* Active to Precharge Delay */
#define AT91_SDRAMC_TXSR (0xf << 28)
/* Exit Self Refresh to Active Delay */
#define AT91_SDRAMC_LPR (AT
91
_SDRAMC + 0x10)
/* SDRAM Controller Low Power Register */
#define AT91_SDRAMC_LPR (AT
MEL_BASE
_SDRAMC + 0x10)
/* SDRAM Controller Low Power Register */
#define AT91_SDRAMC_LPCB (3 << 0)
/* Low-power Configurations */
#define AT91_SDRAMC_LPCB_DISABLE 0
#define AT91_SDRAMC_LPCB_SELF_REFRESH 1
...
...
@@ -85,13 +85,13 @@
#define AT91_SDRAMC_TIMEOUT_64_CLK_CYCLES (1 << 12)
#define AT91_SDRAMC_TIMEOUT_128_CLK_CYCLES (2 << 12)
#define AT91_SDRAMC_IER (AT
91
_SDRAMC + 0x14)
/* SDRAM Controller Interrupt Enable Register */
#define AT91_SDRAMC_IDR (AT
91
_SDRAMC + 0x18)
/* SDRAM Controller Interrupt Disable Register */
#define AT91_SDRAMC_IMR (AT
91
_SDRAMC + 0x1C)
/* SDRAM Controller Interrupt Mask Register */
#define AT91_SDRAMC_ISR (AT
91
_SDRAMC + 0x20)
/* SDRAM Controller Interrupt Status Register */
#define AT91_SDRAMC_IER (AT
MEL_BASE
_SDRAMC + 0x14)
/* SDRAM Controller Interrupt Enable Register */
#define AT91_SDRAMC_IDR (AT
MEL_BASE
_SDRAMC + 0x18)
/* SDRAM Controller Interrupt Disable Register */
#define AT91_SDRAMC_IMR (AT
MEL_BASE
_SDRAMC + 0x1C)
/* SDRAM Controller Interrupt Mask Register */
#define AT91_SDRAMC_ISR (AT
MEL_BASE
_SDRAMC + 0x20)
/* SDRAM Controller Interrupt Status Register */
#define AT91_SDRAMC_RES (1 << 0)
/* Refresh Error Status */
#define AT91_SDRAMC_MDR (AT
91
_SDRAMC + 0x24)
/* SDRAM Memory Device Register */
#define AT91_SDRAMC_MDR (AT
MEL_BASE
_SDRAMC + 0x24)
/* SDRAM Memory Device Register */
#define AT91_SDRAMC_MD (3 << 0)
/* Memory Device Type */
#define AT91_SDRAMC_MD_SDRAM 0
#define AT91_SDRAMC_MD_LOW_POWER_SDRAM 1
...
...
arch/arm/include/asm/arch-at91/at91sam9_smc.h
View file @
fd2f5658
...
...
@@ -18,14 +18,14 @@
#ifdef __ASSEMBLY__
#ifndef AT
91_SMC_BASE
#define AT
91_SMC_BASE AT91_SMC0_BASE
#ifndef AT
MEL_BASE_SMC
#define AT
MEL_BASE_SMC ATMEL_BASE_SMC0
#endif
#define AT91_ASM_SMC_SETUP0 AT
91_SMC_BASE
#define AT91_ASM_SMC_PULSE0 (AT
91_SMC_BASE
+ 0x04)
#define AT91_ASM_SMC_CYCLE0 (AT
91_SMC_BASE
+ 0x08)
#define AT91_ASM_SMC_MODE0 (AT
91_SMC_BASE
+ 0x0C)
#define AT91_ASM_SMC_SETUP0 AT
MEL_BASE_SMC
#define AT91_ASM_SMC_PULSE0 (AT
MEL_BASE_SMC
+ 0x04)
#define AT91_ASM_SMC_CYCLE0 (AT
MEL_BASE_SMC
+ 0x08)
#define AT91_ASM_SMC_MODE0 (AT
MEL_BASE_SMC
+ 0x0C)
#else
...
...
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