summaryrefslogtreecommitdiff
path: root/board
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
parentb2184c314de0af9788ce505b413030d2114cfa4a (diff)
downloadu-boot-imx-ea909b7604306a400ee3abf57e2fa7b2dde5dde1.zip
u-boot-imx-ea909b7604306a400ee3abf57e2fa7b2dde5dde1.tar.gz
u-boot-imx-ea909b7604306a400ee3abf57e2fa7b2dde5dde1.tar.bz2
* Added support for both PCMCIA slots (at the same time!) on MPC8xx
* 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')
-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 e434512..973cde8 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 cc818d2..41f5e3a 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;
}