summaryrefslogtreecommitdiff
path: root/board/sc520_spunk
diff options
context:
space:
mode:
Diffstat (limited to 'board/sc520_spunk')
-rw-r--r--board/sc520_spunk/sc520_spunk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/sc520_spunk/sc520_spunk.c b/board/sc520_spunk/sc520_spunk.c
index ed226fd64..d119a7d99 100644
--- a/board/sc520_spunk/sc520_spunk.c
+++ b/board/sc520_spunk/sc520_spunk.c
@@ -507,6 +507,7 @@ void show_boot_progress(int val)
{
int version = read_mmcr_byte(SC520_SYSINFO);
+ if (val < -32) val = -1; /* let things compatible */
if (version == 0) {
/* PIO31-PIO16 Data */
write_mmcr_word(SC520_PIODATA31_16,