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
c96bcf95
Commit
c96bcf95
authored
Nov 21, 2007
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Use existing CONFIG_CACHE_xx options in head_64.S.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
0b2328bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
arch/sh/kernel/head_64.S
arch/sh/kernel/head_64.S
+5
-5
No files found.
arch/sh/kernel/head_64.S
View file @
c96bcf95
...
...
@@ -63,23 +63,23 @@
#define MMUDR_CACHED_L 0x000000000000015a | ALIGNED_PHYSICAL
/
*
512
Mb
,
Cacheable
,
Write
-
back
,
read
/
write
,
Not
User
,
Ph
.
Add
.
*/
#ifdef CONFIG_
ICACHE_DISABLED
#ifdef CONFIG_
CACHE_OFF
#define ICCR0_INIT_VAL ICCR0_OFF /* ICACHE off */
#else
#define ICCR0_INIT_VAL ICCR0_ON | ICCR0_ICI /* ICE + ICI */
#endif
#define ICCR1_INIT_VAL ICCR1_NOLOCK /* No locking */
#if defined (CONFIG_
DCACHE_DISABLED
)
#if defined (CONFIG_
CACHE_OFF
)
#define OCCR0_INIT_VAL OCCR0_OFF /* D-cache: off */
#elif defined (CONFIG_
DCACHE_WRITE_
THROUGH)
#elif defined (CONFIG_
CACHE_WRITE
THROUGH)
#define OCCR0_INIT_VAL OCCR0_ON | OCCR0_OCI | OCCR0_WT /* D-cache: on, */
/
*
WT
,
invalidate
*/
#elif defined (CONFIG_
DCACHE_WRITE_
BACK)
#elif defined (CONFIG_
CACHE_WRITE
BACK)
#define OCCR0_INIT_VAL OCCR0_ON | OCCR0_OCI | OCCR0_WB /* D-cache: on, */
/
*
WB
,
invalidate
*/
#else
#error preprocessor flag CONFIG_
D
CACHE_... not recognized!
#error preprocessor flag CONFIG_CACHE_... not recognized!
#endif
#define OCCR1_INIT_VAL OCCR1_NOLOCK /* No locking */
...
...
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