projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc4xx: Update Kilauea CPLD configuration with USB PHY reset bit
[oweals/u-boot.git]
/
board
/
sc520_cdp
/
sc520_cdp.c
diff --git
a/board/sc520_cdp/sc520_cdp.c
b/board/sc520_cdp/sc520_cdp.c
index cd523248268556ef0f7bbbea46cac1d91a89c846..f6f0e7244377e282ddcfdccce3f8cd7785f87185 100644
(file)
--- a/
board/sc520_cdp/sc520_cdp.c
+++ b/
board/sc520_cdp/sc520_cdp.c
@@
-30,6
+30,8
@@
#include <asm/ic/ali512x.h>
#include <spi.h>
#include <asm/ic/ali512x.h>
#include <spi.h>
+DECLARE_GLOBAL_DATA_PTR;
+
#undef SC520_CDP_DEBUG
#ifdef SC520_CDP_DEBUG
#undef SC520_CDP_DEBUG
#ifdef SC520_CDP_DEBUG
@@
-481,8
+483,6
@@
int pci_enable_legacy_video_ports(struct pci_controller *hose)
int board_init(void)
{
int board_init(void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
init_sc520();
bus_init();
irq_init();
init_sc520();
bus_init();
irq_init();
@@
-507,6
+507,7
@@
int dram_init(void)
void show_boot_progress(int val)
{
void show_boot_progress(int val)
{
+ if (val < -32) val = -1; /* let things compatible */
outb(val&0xff, 0x80);
outb((val&0xff00)>>8, 0x680);
}
outb(val&0xff, 0x80);
outb((val&0xff00)>>8, 0x680);
}