X60/T60: fix return value of mainboard_io_trap_handler()
The handler should return 1 if it handled the request. The current code returns 0, which causes 'Unknown function' logs. Change-Id: Ic296819a5f8c6f1f97b7d47148182226684882a0 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/29 Tested-by: build bot (Jenkins)
This commit is contained in:
parent
5d9a83c9f0
commit
0f9cd43514
|
@ -68,11 +68,11 @@ int mainboard_io_trap_handler(int smif)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* On success, the IO Trap Handler returns 0
|
|
||||||
* On failure, the IO Trap Handler returns a value != 0 */
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* On success, the IO Trap Handler returns 1
|
||||||
|
* On failure, the IO Trap Handler returns a value != 1 */
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -68,10 +68,10 @@ int mainboard_io_trap_handler(int smif)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* On success, the IO Trap Handler returns 0
|
|
||||||
* On failure, the IO Trap Handler returns a value != 0 */
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* On success, the IO Trap Handler returns 1
|
||||||
|
* On failure, the IO Trap Handler returns a value != 1 */
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue