summaryrefslogtreecommitdiff
path: root/board/sc520_cdp
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-11-21 23:11:29 +0000
committerwdenk <wdenk>2002-11-21 23:11:29 +0000
commitea909b7604306a400ee3abf57e2fa7b2dde5dde1 (patch)
treef23f5653250d0440fe81b098037814a401fc9cc9 /board/sc520_cdp
parentb2184c314de0af9788ce505b413030d2114cfa4a (diff)
* Added support for both PCMCIA slots (at the same time!) on MPC8xxLABEL_2002_11_22_0015
* Patch by Rod Boyce, 21 Nov 2002: fix PCMCIA on MBX8xx board * Patch by Pierre Aubert , 21 Nov 2002 Add CFG_CPM_POST_WORD_ADDR to make the offset of the bootmode word in DPRAM configurable
Diffstat (limited to 'board/sc520_cdp')
-rw-r--r--board/sc520_cdp/flash.c2
-rw-r--r--board/sc520_cdp/sc520_cdp.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/board/sc520_cdp/flash.c b/board/sc520_cdp/flash.c
index e43451286f8..973cde8b99a 100644
--- a/board/sc520_cdp/flash.c
+++ b/board/sc520_cdp/flash.c
@@ -171,7 +171,7 @@ Done:
int flash_erase (flash_info_t *info, int s_first, int s_last)
{
ulong result;
- int iflag, cflag, prot, sect;
+ int iflag, prot, sect;
int rc = ERR_OK;
int chip1, chip2;
diff --git a/board/sc520_cdp/sc520_cdp.c b/board/sc520_cdp/sc520_cdp.c
index cc818d26601..41f5e3ad10b 100644
--- a/board/sc520_cdp/sc520_cdp.c
+++ b/board/sc520_cdp/sc520_cdp.c
@@ -285,4 +285,6 @@ int last_stage_init(void)
minor |= ali512x_cio_in(20)?1:0;
printf("AMD SC520 CDP revision %d.%d\n", major, minor);
+
+ return 0;
}