From 85ebb0e0c35f8541e39a908766cfc5929ddb8e15 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 4 Sep 2014 13:46:02 +0200 Subject: [PATCH] tps65950: allow 0 as id for qemu beaglexm makes booting on qemu beaglexm a lot prettier. Change-Id: I45d0383abbf0d21227a95f538ed78ca6c1ed7871 --- minix/drivers/power/tps65950/tps65950.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/minix/drivers/power/tps65950/tps65950.c b/minix/drivers/power/tps65950/tps65950.c index e1dd0814b..16cd4951f 100644 --- a/minix/drivers/power/tps65950/tps65950.c +++ b/minix/drivers/power/tps65950/tps65950.c @@ -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; -- 2.44.0