From ea909b7604306a400ee3abf57e2fa7b2dde5dde1 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 21 Nov 2002 23:11:29 +0000 Subject: * 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 --- board/sc520_cdp/flash.c | 2 +- board/sc520_cdp/sc520_cdp.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'board') 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; } -- cgit v1.1