mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00
atavia: fix BYTE_OFFSET's macro argument value
A macro value has to use a correct argument name. Change-Id: I666204ec92c6df625b34ca721b3e1af78772bccf Signed-off-by: Alexander Goncharov <chat@joursoir.net> Reviewed-on: https://review.coreboot.org/c/flashrom/+/65193 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
a721181a08
commit
40997e30ac
2
atavia.c
2
atavia.c
@ -46,7 +46,7 @@
|
||||
/* Select the byte we want to access. This is done by clearing the bit corresponding to the byte we want to
|
||||
* access, leaving the others set (yes, really). */
|
||||
#define ENABLE_BYTE(address) ((~(1 << ((address) & 3))) & BROM_BYTE_ENABLE_MASK)
|
||||
#define BYTE_OFFSET(address) (((addr) & 3) * 8)
|
||||
#define BYTE_OFFSET(address) (((address) & 3) * 8)
|
||||
|
||||
static const struct dev_entry ata_via[] = {
|
||||
{PCI_VENDOR_ID_VIA, 0x3249, DEP, "VIA", "VT6421A"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user