libpayload: Fix lookup by label in CMOS layouts
commit0227dec291ac825aae514b7841bb39a936bcec77
authorNico Huber <nico.huber@secunet.com>
Fri, 9 Nov 2012 17:12:21 +0000 (9 18:12 +0100)
committerPatrick Georgi <patrick@georgi-clan.de>
Fri, 30 Nov 2012 05:05:50 +0000 (30 06:05 +0100)
treeb61b155909b2ddbdc8ba64df8c3d121512311bfe
parent48e21ec430cf83f540bf189b1dfa372938cc9b36
libpayload: Fix lookup by label in CMOS layouts

The condition to compare the labels was twisted.

Change-Id: I34a665aa87e2ff0480eda0f249bbbea8a8fe68d8
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/1941
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
payloads/libpayload/drivers/options.c