Subrata Banik uploaded patch set #2 to this change.

View Change

payloads/libpayload: Fix BIT macro redefinition error

Compilation Error:
/firmware/libpayload/bin/../include/libpayload.h:88: error: "BIT" redefined [-Werror]
#define BIT(x) (1ul << (x))
from src/board/tglrvp/board.c:28:
usr/include/chromeos/ec/ec_commands.h:49: note: this is the location of the previous definition
#define BIT(nr) (1UL << (nr))

TEST=Able to emerge tglrvp depthcharge and libpayload without any compilation
error.

Change-Id: I0a5fd069acbd7e59980f6602b63362fcb3220009
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
---
M payloads/libpayload/include/libpayload.h
1 file changed, 2 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/41059/2

To view, visit change 41059. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0a5fd069acbd7e59980f6602b63362fcb3220009
Gerrit-Change-Number: 41059
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subrata.banik@intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Caveh Jalali <caveh@chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset