mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
just fooling around ... hangs on the qlilinux box.
This commit is contained in:
parent
c4233508f4
commit
019c4ca96b
1 changed files with 3 additions and 1 deletions
|
@ -234,8 +234,10 @@ main()
|
||||||
|
|
||||||
for(slot = 1; slot < 0xff; slot += 2) {
|
for(slot = 1; slot < 0xff; slot += 2) {
|
||||||
unsigned char val;
|
unsigned char val;
|
||||||
if (slot == 0x6a)
|
if (slot == 0x67) {
|
||||||
|
slot = 0x71;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
smbus_read_byte(slot, 0, &val);
|
smbus_read_byte(slot, 0, &val);
|
||||||
printf("slot 0x%x val 0x%x\n", slot, val);
|
printf("slot 0x%x val 0x%x\n", slot, val);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue