forked from torvalds/linux
-
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.
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (137 commits) sh: include empty zero page in romImage sh: Make associative cache writes fatal on all SH-4A parts. sh: Drop associative writes for SH-4 cache flushes. sh: Partial revert of copy/clear_user_highpage() optimizations. sh: Add default uImage rule for se7724, ap325rxa, and migor. sh: allow runtime pm without suspend/resume callbacks sh: mach-ecovec24: Remove un-defined settings for VPU sh: mach-ecovec24: LCDC drive ability become high sh: fix sh7724 VEU3F resource size serial: sh-sci: Fix too early port disabling. sh: pfc: pr_info() -> pr_debug() cleanups. sh: pfc: Convert from ctrl_xxx() to __raw_xxx() I/O routines. sh: Improve kfr2r09 serial port setup code sh: Break out SuperH PFC code sh: Move KEYSC header file sh: convert /proc/cpu/aligmnent, /proc/cpu/kernel_alignment to seq_file sh: Add CPG save/restore code for sh7724 R-standby sh: Add SDHI power control support to Ecovec mfd: Add power control platform data to SDHI driver sh: mach-ecovec24: modify address map ...
- Loading branch information
Showing
146 changed files
with
4,741 additions
and
2,405 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
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,2 @@ | ||
obj-y := setup.o sdram.o | ||
|
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,69 @@ | ||
/* | ||
* AP325RXA sdram self/auto-refresh setup code | ||
* | ||
* Copyright (C) 2009 Magnus Damm | ||
* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
*/ | ||
|
||
#include <linux/sys.h> | ||
#include <linux/errno.h> | ||
#include <linux/linkage.h> | ||
#include <asm/asm-offsets.h> | ||
#include <asm/suspend.h> | ||
#include <asm/romimage-macros.h> | ||
|
||
/* code to enter and leave self-refresh. must be self-contained. | ||
* this code will be copied to on-chip memory and executed from there. | ||
*/ | ||
.balign 4 | ||
ENTRY(ap325rxa_sdram_enter_start) | ||
|
||
/* SBSC: disable power down and put in self-refresh mode */ | ||
mov.l 1f, r4 | ||
mov.l 2f, r1 | ||
mov.l @r4, r2 | ||
or r1, r2 | ||
mov.l 3f, r3 | ||
and r3, r2 | ||
mov.l r2, @r4 | ||
|
||
rts | ||
nop | ||
|
||
.balign 4 | ||
1: .long 0xfe400008 /* SDCR0 */ | ||
2: .long 0x00000400 | ||
3: .long 0xffff7fff | ||
ENTRY(ap325rxa_sdram_enter_end) | ||
|
||
.balign 4 | ||
ENTRY(ap325rxa_sdram_leave_start) | ||
|
||
/* SBSC: set auto-refresh mode */ | ||
mov.l 1f, r4 | ||
mov.l @r4, r0 | ||
mov.l 4f, r1 | ||
and r1, r0 | ||
mov.l r0, @r4 | ||
mov.l 6f, r4 | ||
mov.l 8f, r0 | ||
mov.l @r4, r1 | ||
mov #-1, r4 | ||
add r4, r1 | ||
or r1, r0 | ||
mov.l 7f, r1 | ||
mov.l r0, @r1 | ||
|
||
rts | ||
nop | ||
|
||
.balign 4 | ||
1: .long 0xfe400008 /* SDCR0 */ | ||
4: .long 0xfffffbff | ||
6: .long 0xfe40001c /* RTCOR */ | ||
7: .long 0xfe400018 /* RTCNT */ | ||
8: .long 0xa55a0000 | ||
ENTRY(ap325rxa_sdram_leave_end) |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
# for more details. | ||
# | ||
|
||
obj-y := setup.o | ||
obj-y := setup.o sdram.o |
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,52 @@ | ||
/* | ||
* Ecovec24 sdram self/auto-refresh setup code | ||
* | ||
* Copyright (C) 2009 Magnus Damm | ||
* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
*/ | ||
|
||
#include <linux/sys.h> | ||
#include <linux/errno.h> | ||
#include <linux/linkage.h> | ||
#include <asm/asm-offsets.h> | ||
#include <asm/suspend.h> | ||
#include <asm/romimage-macros.h> | ||
|
||
/* code to enter and leave self-refresh. must be self-contained. | ||
* this code will be copied to on-chip memory and executed from there. | ||
*/ | ||
.balign 4 | ||
ENTRY(ecovec24_sdram_enter_start) | ||
|
||
/* DBSC: put memory in self-refresh mode */ | ||
|
||
ED 0xFD000010, 0x00000000 /* DBEN */ | ||
ED 0xFD000040, 0x00000000 /* DBRFPDN0 */ | ||
ED 0xFD000014, 0x00000002 /* DBCMDCNT (PALL) */ | ||
ED 0xFD000014, 0x00000004 /* DBCMDCNT (REF) */ | ||
ED 0xFD000040, 0x00000001 /* DBRFPDN0 */ | ||
|
||
rts | ||
nop | ||
|
||
ENTRY(ecovec24_sdram_enter_end) | ||
|
||
.balign 4 | ||
ENTRY(ecovec24_sdram_leave_start) | ||
|
||
/* DBSC: put memory in auto-refresh mode */ | ||
|
||
ED 0xFD000040, 0x00000000 /* DBRFPDN0 */ | ||
WAIT 1 | ||
ED 0xFD000014, 0x00000002 /* DBCMDCNT (PALL) */ | ||
ED 0xFD000014, 0x00000004 /* DBCMDCNT (REF) */ | ||
ED 0xFD000010, 0x00000001 /* DBEN */ | ||
ED 0xFD000040, 0x00010000 /* DBRFPDN0 */ | ||
|
||
rts | ||
nop | ||
|
||
ENTRY(ecovec24_sdram_leave_end) |
Oops, something went wrong.