UPSTREAM: soc/intel/quark: Conditionally define BIT names
Only define BIT names if they are not already defined.
TEST=Build and run on Galileo Gen2
Change-Id: Ief4c4bb7a42a1bb2a7f46f13dc9b8bbb4d233e3c
Original-Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/15002
Original-Reviewed-by: Martin Roth <martinroth@google.com>
(cherry-picked from commit d5493683ea)
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/348418
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
14572c3a52
commit
d30a49d613
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ Definitions beginning with "N_" are the bit position
|
|||
//
|
||||
// Define the bits
|
||||
//
|
||||
#ifndef BIT0
|
||||
#define BIT0 0x00000001
|
||||
#define BIT1 0x00000002
|
||||
#define BIT2 0x00000004
|
||||
|
|
@ -56,6 +57,7 @@ Definitions beginning with "N_" are the bit position
|
|||
#define BIT29 0x20000000
|
||||
#define BIT30 0x40000000
|
||||
#define BIT31 0x80000000
|
||||
#endif
|
||||
|
||||
//
|
||||
// QNC GMCH Equates
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue