tps65950: allow 0 as id for qemu beaglexm

makes booting on qemu beaglexm a lot prettier.

Change-Id: I45d0383abbf0d21227a95f538ed78ca6c1ed7871
This commit is contained in:
Ben Gras 2014-09-04 13:46:02 +02:00
parent 683d394d66
commit 85ebb0e0c3

View file

@ -136,6 +136,9 @@ check_revision(void)
case IDCODE_REV_1_2:
log_debug(&log, "TPS65950 rev 1.2\n");
break;
case 0:
log_debug(&log, "TPS65950 missing in qemu\n");
break;
default:
log_warn(&log, "Unexpected IDCODE: 0x%x\n", idcode);
return -1;