Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Florian Mayer
u-boot
Commits
4a02a2dc
Commit
4a02a2dc
authored
16 years ago
by
Heiko Schocher
Committed by
Wolfgang Denk
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
muas3001: activate WDT for the muas3001 board.
Signed-off-by:
Heiko Schocher
<
hs@denx.de
>
parent
a55d074d
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
include/configs/muas3001.h
+17
-3
17 additions, 3 deletions
include/configs/muas3001.h
with
17 additions
and
3 deletions
include/configs/muas3001.h
+
17
−
3
View file @
4a02a2dc
...
@@ -38,6 +38,9 @@
...
@@ -38,6 +38,9 @@
/* Do boardspecific init */
/* Do boardspecific init */
#define CONFIG_BOARD_EARLY_INIT_R 1
#define CONFIG_BOARD_EARLY_INIT_R 1
/* enable Watchdog */
#define CONFIG_WATCHDOG 1
/*
/*
* Select serial console configuration
* Select serial console configuration
*
*
...
@@ -181,8 +184,6 @@
...
@@ -181,8 +184,6 @@
#define CONFIG_BOOTCOMMAND "run net_nfs"
#define CONFIG_BOOTCOMMAND "run net_nfs"
#define CONFIG_BOOTDELAY 5
/* autoboot after 5 seconds */
#define CONFIG_BOOTDELAY 5
/* autoboot after 5 seconds */
#undef CONFIG_WATCHDOG
/* disable platform specific watchdog */
/*
/*
* Miscellaneous configurable options
* Miscellaneous configurable options
*/
*/
...
@@ -277,10 +278,23 @@
...
@@ -277,10 +278,23 @@
#define CFG_HID2 0
#define CFG_HID2 0
#define CFG_SIUMCR 0x00200000
#define CFG_SIUMCR 0x00200000
#define CFG_SYPCR 0xFFFFFFC3
#define CFG_BCR 0x004c0000
#define CFG_BCR 0x004c0000
#define CFG_SCCR 0x0
#define CFG_SCCR 0x0
/*-----------------------------------------------------------------------
* SYPCR - System Protection Control 4-35
* SYPCR can only be written once after reset!
*-----------------------------------------------------------------------
* Watchdog & Bus Monitor Timer max, 60x Bus Monitor enable
*/
#if defined(CONFIG_WATCHDOG)
#define CFG_SYPCR (SYPCR_SWTC|SYPCR_BMT|SYPCR_PBME|SYPCR_LBME|\
SYPCR_SWRI|SYPCR_SWP|SYPCR_SWE)
#else
#define CFG_SYPCR (SYPCR_SWTC|SYPCR_BMT|SYPCR_PBME|SYPCR_LBME|\
SYPCR_SWRI|SYPCR_SWP)
#endif
/* CONFIG_WATCHDOG */
/*-----------------------------------------------------------------------
/*-----------------------------------------------------------------------
* RMR - Reset Mode Register 5-5
* RMR - Reset Mode Register 5-5
*-----------------------------------------------------------------------
*-----------------------------------------------------------------------
...
...
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