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
c04a1a72
Commit
c04a1a72
authored
18 years ago
by
Stefan Roese
Browse files
Options
Downloads
Plain Diff
Merge with /home/stefan/git/u-boot/denx-merge-sr
parents
a78bc443
574ca77c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/v38b/v38b.c
+12
-9
12 additions, 9 deletions
board/v38b/v38b.c
include/configs/v38b.h
+4
-3
4 additions, 3 deletions
include/configs/v38b.h
with
16 additions
and
12 deletions
board/v38b/v38b.c
+
12
−
9
View file @
c04a1a72
...
@@ -191,16 +191,8 @@ int checkboard (void)
...
@@ -191,16 +191,8 @@ int checkboard (void)
return
0
;
return
0
;
}
}
int
board_early_init_f
(
void
)
int
board_early_init_r
(
void
)
{
{
/*
* Now, when we are in RAM, enable flash write access for the
* detection process. Note that CS_BOOT cannot be cleared when
* executing in flash.
*/
*
(
vu_long
*
)
MPC5XXX_BOOTCS_CFG
&=
~
0x1
;
/* clear RO */
#ifdef CONFIG_HW_WATCHDOG
#ifdef CONFIG_HW_WATCHDOG
/*
/*
* Enable and configure the direction (output) of PSC3_9 - watchdog
* Enable and configure the direction (output) of PSC3_9 - watchdog
...
@@ -210,6 +202,17 @@ int board_early_init_r(void)
...
@@ -210,6 +202,17 @@ int board_early_init_r(void)
*
(
vu_long
*
)
MPC5XXX_WU_GPIO_ENABLE
|=
GPIO_PSC3_9
;
*
(
vu_long
*
)
MPC5XXX_WU_GPIO_ENABLE
|=
GPIO_PSC3_9
;
*
(
vu_long
*
)
MPC5XXX_WU_GPIO_DIR
|=
GPIO_PSC3_9
;
*
(
vu_long
*
)
MPC5XXX_WU_GPIO_DIR
|=
GPIO_PSC3_9
;
#endif
/* CONFIG_HW_WATCHDOG */
#endif
/* CONFIG_HW_WATCHDOG */
return
0
;
}
int
board_early_init_r
(
void
)
{
/*
* Now, when we are in RAM, enable flash write access for the
* detection process. Note that CS_BOOT cannot be cleared when
* executing in flash.
*/
*
(
vu_long
*
)
MPC5XXX_BOOTCS_CFG
&=
~
0x1
;
/* clear RO */
/*
/*
* Enable GPIO_WKUP_7 to "read the status of the actual power
* Enable GPIO_WKUP_7 to "read the status of the actual power
...
...
This diff is collapsed.
Click to expand it.
include/configs/v38b.h
+
4
−
3
View file @
c04a1a72
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
#define CONFIG_NETCONSOLE 1
#define CONFIG_NETCONSOLE 1
#define CONFIG_BOARD_EARLY_INIT_R 1
/* do board-specific init */
#define CONFIG_BOARD_EARLY_INIT_R 1
/* do board-specific init */
#define CONFIG_BOARD_EARLY_INIT_F 1
/* do board-specific init */
#define CFG_XLB_PIPELINING 1
/* gives better performance */
#define CFG_XLB_PIPELINING 1
/* gives better performance */
...
@@ -101,7 +102,7 @@
...
@@ -101,7 +102,7 @@
CFG_CMD_IRQ | \
CFG_CMD_IRQ | \
CFG_CMD_JFFS2 | \
CFG_CMD_JFFS2 | \
CFG_CMD_MII | \
CFG_CMD_MII | \
CFG_CMD_SDRAM
i
| \
CFG_CMD_SDRAM | \
CFG_CMD_DATE | \
CFG_CMD_DATE | \
CFG_CMD_USB | \
CFG_CMD_USB | \
CFG_CMD_FAT)
CFG_CMD_FAT)
...
@@ -135,7 +136,7 @@
...
@@ -135,7 +136,7 @@
"preboot=echo;echo Type \"run flash_nfs\" to mount root " \
"preboot=echo;echo Type \"run flash_nfs\" to mount root " \
"filesystem over NFS; echo\0" \
"filesystem over NFS; echo\0" \
"netdev=eth0\0" \
"netdev=eth0\0" \
"ramargs=setenv bootargs root=/dev/ram rw\0"
\
"ramargs=setenv bootargs root=/dev/ram rw
wdt=off
\0" \
"addip=setenv bootargs $(bootargs) " \
"addip=setenv bootargs $(bootargs) " \
"ip=$(ipaddr):$(serverip):$(gatewayip):" \
"ip=$(ipaddr):$(serverip):$(gatewayip):" \
"$(netmask):$(hostname):$(netdev):off panic=1\0" \
"$(netmask):$(hostname):$(netdev):off panic=1\0" \
...
@@ -144,7 +145,7 @@
...
@@ -144,7 +145,7 @@
"$(ramdisk_addr)\0" \
"$(ramdisk_addr)\0" \
"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0" \
"net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0" \
"nfsargs=setenv bootargs root=/dev/nfs rw " \
"nfsargs=setenv bootargs root=/dev/nfs rw " \
"nfsroot=$(serverip):$(rootpath)\0"
\
"nfsroot=$(serverip):$(rootpath)
wdt=off
\0" \
"hostname=v38b\0" \
"hostname=v38b\0" \
"ethact=FEC ETHERNET\0" \
"ethact=FEC ETHERNET\0" \
"rootpath=/opt/eldk-3.1.1/ppc_6xx\0" \
"rootpath=/opt/eldk-3.1.1/ppc_6xx\0" \
...
...
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