-
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 branch 'for-linus' of git://www.jni.nu/cris
* 'for-linus' of git://www.jni.nu/cris: CRIS: Don't use mask_irq as symbol name CRIS: Simplify param.h by simply including <asm-generic/param.h> CRISv10: Whitespace fixes for hw_settings.S CRISv10: Trivial fixes. CRISv32: Fix RS485 port 4 CD Kconfig item. CRISv32: Remove duplicated Kconfig items. cris: push down BKL into some device drivers
- Loading branch information
Showing
14 changed files
with
97 additions
and
90 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
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,27 +1,25 @@ | ||
/* | ||
* $Id: hw_settings.S,v 1.1 2001/12/17 13:59:27 bjornw Exp $ | ||
* | ||
* This table is used by some tools to extract hardware parameters. | ||
* The table should be included in the kernel and the decompressor. | ||
* Don't forget to update the tools if you change this table. | ||
* | ||
* Copyright (C) 2001 Axis Communications AB | ||
* | ||
* Authors: Mikael Starvik ([email protected]) | ||
* Authors: Mikael Starvik ([email protected]) | ||
*/ | ||
|
||
#define PA_SET_VALUE ((CONFIG_ETRAX_DEF_R_PORT_PA_DIR << 8) | \ | ||
(CONFIG_ETRAX_DEF_R_PORT_PA_DATA)) | ||
#define PB_SET_VALUE ((CONFIG_ETRAX_DEF_R_PORT_PB_CONFIG << 16) | \ | ||
(CONFIG_ETRAX_DEF_R_PORT_PB_DIR << 8) | \ | ||
(CONFIG_ETRAX_DEF_R_PORT_PB_DATA)) | ||
|
||
.ascii "HW_PARAM_MAGIC" ; Magic number | ||
.dword 0xc0004000 ; Kernel start address | ||
|
||
; Debug port | ||
#ifdef CONFIG_ETRAX_DEBUG_PORT0 | ||
.dword 0 | ||
.dword 0 | ||
#elif defined(CONFIG_ETRAX_DEBUG_PORT1) | ||
.dword 1 | ||
#elif defined(CONFIG_ETRAX_DEBUG_PORT2) | ||
|
@@ -30,7 +28,7 @@ | |
.dword 3 | ||
#else | ||
.dword 4 ; No debug | ||
#endif | ||
#endif | ||
|
||
; SDRAM or EDO DRAM? | ||
#ifdef CONFIG_ETRAX_SDRAM | ||
|
@@ -39,7 +37,7 @@ | |
.dword 0 | ||
#endif | ||
|
||
; Register values | ||
; Register values | ||
.dword R_WAITSTATES | ||
.dword CONFIG_ETRAX_DEF_R_WAITSTATES | ||
.dword R_BUS_CONFIG | ||
|
@@ -56,7 +54,7 @@ | |
.dword CONFIG_ETRAX_DEF_R_DRAM_TIMING | ||
#endif | ||
.dword R_PORT_PA_SET | ||
.dword PA_SET_VALUE | ||
.dword PA_SET_VALUE | ||
.dword R_PORT_PB_SET | ||
.dword PB_SET_VALUE | ||
.dword 0 ; No more register values |
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
Oops, something went wrong.