Last change
on this file since dee5246 was
dee5246,
checked in by Jarielle Catbagan <jcatbagan93@…>, on 06/19/15 at 18:53:54
|
Duplicated csb740 directory to beagleboneblack directory for BBB port
|
-
Property mode set to
100644
|
File size:
920 bytes
|
Line | |
---|
1 | /* cpu.h: |
---|
2 | General notice: |
---|
3 | This code is part of a boot-monitor package developed as a generic base |
---|
4 | platform for embedded system designs. As such, it is likely to be |
---|
5 | distributed to various projects beyond the control of the original |
---|
6 | author. Please notify the author of any enhancements made or bugs found |
---|
7 | so that all may benefit from the changes. In addition, notification back |
---|
8 | to the author will allow the new user to pick up changes that may have |
---|
9 | been made by other users after this version of the code was distributed. |
---|
10 | |
---|
11 | Author: Ed Sutter |
---|
12 | email: esutter@lucent.com |
---|
13 | phone: 908-582-2351 |
---|
14 | |
---|
15 | */ |
---|
16 | #include "omap3530.h" |
---|
17 | |
---|
18 | #define RESETMACRO() \ |
---|
19 | { \ |
---|
20 | WD2_REG(WD_WCRR) = 0xfffffff0; \ |
---|
21 | WD2_REG(WD_WSPR) = 0x0000bbbb; \ |
---|
22 | while(*(volatile unsigned long *)(WD2_BASE_ADD + WD_WWPS)); \ |
---|
23 | WD2_REG(WD_WSPR) = 0x00004444; \ |
---|
24 | while(1); \ |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.