mb/lenovo/t60,x60: Split dock_(dis)connect() function
commit791f7a4f63fe80dd64da69164143808343c025d5
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Fri, 2 Dec 2022 15:59:35 +0000 (2 17:59 +0200)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Wed, 7 Dec 2022 04:51:39 +0000 (7 04:51 +0000)
tree0abc6d3f720bb4a9942ca918fcb88898d2467cba
parentdbbbb8f5c139e190e8b8cdf0564d34b07ceacd83
mb/lenovo/t60,x60: Split dock_(dis)connect() function

Avoid calling a function named mainboard_io_trap_handler() when
the dock (dis)connect is not triggered from IO trap.

Change-Id: Idc258a390f2de2c32d38a0e35fcce896d058d1b9
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70363
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
src/mainboard/lenovo/t60/smihandler.c
src/mainboard/lenovo/x60/smihandler.c