Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
06015146
Commit
06015146
authored
15 years ago
by
Peter Tyser
Committed by
Wolfgang Denk
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
m41t11: Remove unused functions
Signed-off-by:
Peter Tyser
<
ptyser@xes-inc.com
>
parent
9ef78511
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/rtc/m41t11.c
+0
-14
0 additions, 14 deletions
drivers/rtc/m41t11.c
with
0 additions
and
14 deletions
drivers/rtc/m41t11.c
+
0
−
14
View file @
06015146
...
@@ -181,18 +181,4 @@ void rtc_reset (void)
...
@@ -181,18 +181,4 @@ void rtc_reset (void)
val
=
val
&
0x3F
;
/*turn off freq test keep calibration*/
val
=
val
&
0x3F
;
/*turn off freq test keep calibration*/
i2c_write
(
CONFIG_SYS_I2C_RTC_ADDR
,
RTC_CONTROL_ADDR
,
1
,
&
val
,
1
);
i2c_write
(
CONFIG_SYS_I2C_RTC_ADDR
,
RTC_CONTROL_ADDR
,
1
,
&
val
,
1
);
}
}
int
rtc_store
(
int
addr
,
unsigned
char
*
data
,
int
size
)
{
/*don't let things wrap onto the time on a write*/
if
(
(
addr
+
size
)
>=
M41T11_STORAGE_SZ
)
return
1
;
return
i2c_write
(
CONFIG_SYS_I2C_RTC_ADDR
,
REG_CNT
+
addr
,
1
,
data
,
size
);
}
int
rtc_recall
(
int
addr
,
unsigned
char
*
data
,
int
size
)
{
return
i2c_read
(
CONFIG_SYS_I2C_RTC_ADDR
,
REG_CNT
+
addr
,
1
,
data
,
size
);
}
#endif
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment