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
e6325153
Commit
e6325153
authored
20 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
* Fix RTC configuration for PPChameleon board
* Cleanup, fix typo in include/configs/TQM5200.h
parent
4d00eb02
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG
+4
-0
4 additions, 0 deletions
CHANGELOG
include/configs/PPChameleonEVB.h
+3
-2
3 additions, 2 deletions
include/configs/PPChameleonEVB.h
include/configs/TQM5200.h
+4
-4
4 additions, 4 deletions
include/configs/TQM5200.h
rtc/m41t11.c
+2
-2
2 additions, 2 deletions
rtc/m41t11.c
with
13 additions
and
8 deletions
CHANGELOG
+
4
−
0
View file @
e6325153
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
Changes for U-Boot 1.1.3:
Changes for U-Boot 1.1.3:
======================================================================
======================================================================
* Fix RTC configuration for PPChameleon board
* Cleanup, fix typo in include/configs/TQM5200.h
* Patch by Stefan Roese, 16 Mar 2005:
* Patch by Stefan Roese, 16 Mar 2005:
Update for esd auto_update and hh405 board
Update for esd auto_update and hh405 board
...
...
This diff is collapsed.
Click to expand it.
include/configs/PPChameleonEVB.h
+
3
−
2
View file @
e6325153
...
@@ -129,8 +129,9 @@
...
@@ -129,8 +129,9 @@
#undef CONFIG_WATCHDOG
/* watchdog disabled */
#undef CONFIG_WATCHDOG
/* watchdog disabled */
#define CONFIG_RTC_MC146818
/* DS1685 is MC146818 compatible*/
#define CONFIG_RTC_M41T11 1
/* uses a M41T00 RTC */
#define CFG_RTC_REG_BASE_ADDR 0xF0000500
/* RTC Base Address */
#define CFG_I2C_RTC_ADDR 0x68
#define CFG_M41T11_BASE_YEAR 1900
#define CONFIG_SDRAM_BANK0 1
/* init onboard SDRAM bank 0 */
#define CONFIG_SDRAM_BANK0 1
/* init onboard SDRAM bank 0 */
...
...
This diff is collapsed.
Click to expand it.
include/configs/TQM5200.h
+
4
−
4
View file @
e6325153
...
@@ -175,11 +175,11 @@
...
@@ -175,11 +175,11 @@
#if defined (CONFIG_TQM5200_AA)
#if defined (CONFIG_TQM5200_AA)
# define CONFIG_U_BOOT_SUFFIX "-AA"
# define CONFIG_U_BOOT_SUFFIX "-AA"
#elif defined (CONFIG_TQM5200_AB)
#elif defined (CONFIG_TQM5200_AB)
# define CONFIG_U_BOOT_SUFFIX "-AB"
# define CONFIG_U_BOOT_SUFFIX "-AB
\0
"
#elif defined (CONFIG_TQM5200_AC)
#elif defined (CONFIG_TQM5200_AC)
# define CONFIG_U_BOOT_SUFFIX "-AC"
# define CONFIG_U_BOOT_SUFFIX "-AC
\0
"
#else
#else
# define CONFIG_U_BOOT_SUFFIX
/* nothing */
# define CONFIG_U_BOOT_SUFFIX
"\0"
#endif
#endif
#define CONFIG_EXTRA_ENV_SETTINGS \
#define CONFIG_EXTRA_ENV_SETTINGS \
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
"update=protect off FC000000 FC05FFFF;" \
"update=protect off FC000000 FC05FFFF;" \
"erase FC000000 FC05FFFF;" \
"erase FC000000 FC05FFFF;" \
"cp.b 200000 FC000000 $(filesize);" \
"cp.b 200000 FC000000 $(filesize);" \
"protect on FC000000 FC05FFFF\0"
a
\
"protect on FC000000 FC05FFFF\0" \
""
""
#define CONFIG_BOOTCOMMAND "run net_nfs"
#define CONFIG_BOOTCOMMAND "run net_nfs"
...
...
This diff is collapsed.
Click to expand it.
rtc/m41t11.c
+
2
−
2
View file @
e6325153
...
@@ -23,6 +23,8 @@
...
@@ -23,6 +23,8 @@
* can you believe a trademark on that?
* can you believe a trademark on that?
*/
*/
/* #define DEBUG 1 */
#include
<common.h>
#include
<common.h>
#include
<command.h>
#include
<command.h>
#include
<rtc.h>
#include
<rtc.h>
...
@@ -43,8 +45,6 @@
...
@@ -43,8 +45,6 @@
#if defined(CONFIG_RTC_M41T11) && defined(CFG_I2C_RTC_ADDR) && (CONFIG_COMMANDS & CFG_CMD_DATE)
#if defined(CONFIG_RTC_M41T11) && defined(CFG_I2C_RTC_ADDR) && (CONFIG_COMMANDS & CFG_CMD_DATE)
#define DEBUG 1
static
unsigned
bcd2bin
(
uchar
n
)
static
unsigned
bcd2bin
(
uchar
n
)
{
{
return
((((
n
>>
4
)
&
0x0F
)
*
10
)
+
(
n
&
0x0F
));
return
((((
n
>>
4
)
&
0x0F
)
*
10
)
+
(
n
&
0x0F
));
...
...
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