Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
db0d079e
Commit
db0d079e
authored
Jun 27, 2002
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: eliminate some compile warnings on the EP405 board.
parent
cbcb24c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
arch/ppc/platforms/ep405.c
arch/ppc/platforms/ep405.c
+1
-3
No files found.
arch/ppc/platforms/ep405.c
View file @
db0d079e
...
...
@@ -65,12 +65,10 @@ board_setup_arch(void)
{
bd_t
*
bip
=
(
bd_t
*
)
__res
;
#ifdef CONFIG_PPC_RTC
if
(
bip
->
bi_nvramsize
==
512
*
1024
)
{
/* FIXME: we should properly handle NVRTCs of different sizes */
TODC_INIT
(
TODC_TYPE_DS1557
,
ep405_nvram
,
ep405_nvram
,
ep405_nvram
,
8
);
}
#endif
}
void
__init
...
...
@@ -178,9 +176,9 @@ board_setup_irq(void)
void
__init
board_init
(
void
)
{
#ifdef CONFIG_PPC_RTC
bd_t
*
bip
=
(
bd_t
*
)
__res
;
#ifdef CONFIG_PPC_RTC
/* FIXME: we should be able to access the NVRAM even if PPC_RTC is not configured */
ppc_md
.
nvram_read_val
=
todc_direct_read_val
;
ppc_md
.
nvram_write_val
=
todc_direct_write_val
;
...
...
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