summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
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 e43451286f..973cde8b99 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 cc818d2660..41f5e3ad10 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;
}