Lenovo H8: add h8_ultrabay_device_present()
authorSven Schnelle <svens@stackframe.org>
Wed, 27 Apr 2011 19:47:28 +0000 (19:47 +0000)
committerSven Schnelle <svens@stackframe.org>
Wed, 27 Apr 2011 19:47:28 +0000 (19:47 +0000)
commitcf7dffeabc82c50f807a62ba8ef6ed45ff53cbc8
treeaf1172d8201770382ba7499daddf8a052db8cd12
parent4885daadb33bea37ef3970696d3cf0d05e9852a3
Lenovo H8: add h8_ultrabay_device_present()

returns 1 if a CDROM/HDD device is plugging in the
ultrabay. Return 0 if there's a battery or superio
extensions plugged in.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6545 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/ec/lenovo/h8/h8.c
src/ec/lenovo/h8/h8.h