summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-05-23 12:44:00 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:12:57 +0000
commit68999a8b869be132f1c8c242d9a6167896920be3 (patch)
treeaf6da3acef72e859bab91a53cec6cbaed1c5fa8d
parent3f4a987beefc8cb66ba3f9fff5405cdad8933fd6 (diff)
commonlib: fix typo LB_TAB_* (instead of LB_TAG_*)
Also adapt all users of these symbols Change-Id: Ibf924a283d438de49a93ce661b0d9ca1a81cd6d1 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32956 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
-rw-r--r--src/commonlib/include/commonlib/coreboot_tables.h6
-rw-r--r--src/lib/coreboot_table.c4
-rw-r--r--src/mainboard/google/daisy/mainboard.c2
-rw-r--r--src/mainboard/google/gale/mainboard.c2
-rw-r--r--src/mainboard/google/nyan/mainboard.c2
-rw-r--r--src/mainboard/google/nyan_big/mainboard.c2
-rw-r--r--src/mainboard/google/nyan_blaze/mainboard.c2
-rw-r--r--src/mainboard/google/peach_pit/mainboard.c2
-rw-r--r--src/mainboard/google/storm/mainboard.c2
-rw-r--r--src/mainboard/google/urara/mainboard.c2
-rw-r--r--src/mainboard/google/veyron/mainboard.c2
-rw-r--r--src/mainboard/google/veyron_mickey/mainboard.c2
-rw-r--r--src/mainboard/google/veyron_rialto/mainboard.c2
13 files changed, 16 insertions, 16 deletions
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h
index 0873dcc2eb..277b7467fb 100644
--- a/src/commonlib/include/commonlib/coreboot_tables.h
+++ b/src/commonlib/include/commonlib/coreboot_tables.h
@@ -291,9 +291,9 @@ struct lb_gpios {
};
#define LB_TAG_VBNV 0x0019
-#define LB_TAB_VBOOT_HANDOFF 0x0020
-#define LB_TAB_VBOOT_WORKBUF 0x0034
-#define LB_TAB_DMA 0x0022
+#define LB_TAG_VBOOT_HANDOFF 0x0020
+#define LB_TAG_VBOOT_WORKBUF 0x0034
+#define LB_TAG_DMA 0x0022
#define LB_TAG_RAM_OOPS 0x0023
#define LB_TAG_MTC 0x002b
struct lb_range {
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c
index 14cd030202..df756983d0 100644
--- a/src/lib/coreboot_table.c
+++ b/src/lib/coreboot_table.c
@@ -219,7 +219,7 @@ static void lb_vboot_handoff(struct lb_header *header)
return;
vbho = (struct lb_range *)lb_new_record(header);
- vbho->tag = LB_TAB_VBOOT_HANDOFF;
+ vbho->tag = LB_TAG_VBOOT_HANDOFF;
vbho->size = sizeof(*vbho);
vbho->range_start = (intptr_t)addr;
vbho->range_size = size;
@@ -231,7 +231,7 @@ static void lb_vboot_workbuf(struct lb_header *header)
struct vboot_working_data *wd = vboot_get_working_data();
vbwb = (struct lb_range *)lb_new_record(header);
- vbwb->tag = LB_TAB_VBOOT_WORKBUF;
+ vbwb->tag = LB_TAG_VBOOT_WORKBUF;
vbwb->size = sizeof(*vbwb);
vbwb->range_start = (uintptr_t)wd + wd->buffer_offset;
vbwb->range_size = wd->buffer_size;
diff --git a/src/mainboard/google/daisy/mainboard.c b/src/mainboard/google/daisy/mainboard.c
index e812189923..46939b70e9 100644
--- a/src/mainboard/google/daisy/mainboard.c
+++ b/src/mainboard/google/daisy/mainboard.c
@@ -350,7 +350,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/gale/mainboard.c b/src/mainboard/google/gale/mainboard.c
index c8ab88a7fa..8025374efa 100644
--- a/src/mainboard/google/gale/mainboard.c
+++ b/src/mainboard/google/gale/mainboard.c
@@ -74,7 +74,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/nyan/mainboard.c b/src/mainboard/google/nyan/mainboard.c
index b1cf19e258..807cec3f3f 100644
--- a/src/mainboard/google/nyan/mainboard.c
+++ b/src/mainboard/google/nyan/mainboard.c
@@ -259,7 +259,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/nyan_big/mainboard.c b/src/mainboard/google/nyan_big/mainboard.c
index c0769f1b00..c8bb8136d4 100644
--- a/src/mainboard/google/nyan_big/mainboard.c
+++ b/src/mainboard/google/nyan_big/mainboard.c
@@ -257,7 +257,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/nyan_blaze/mainboard.c b/src/mainboard/google/nyan_blaze/mainboard.c
index a296092a19..97d0576278 100644
--- a/src/mainboard/google/nyan_blaze/mainboard.c
+++ b/src/mainboard/google/nyan_blaze/mainboard.c
@@ -257,7 +257,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/peach_pit/mainboard.c b/src/mainboard/google/peach_pit/mainboard.c
index 0441e52989..ecd2260511 100644
--- a/src/mainboard/google/peach_pit/mainboard.c
+++ b/src/mainboard/google/peach_pit/mainboard.c
@@ -485,7 +485,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/storm/mainboard.c b/src/mainboard/google/storm/mainboard.c
index fdff5ab0f4..783e6ad7a1 100644
--- a/src/mainboard/google/storm/mainboard.c
+++ b/src/mainboard/google/storm/mainboard.c
@@ -119,7 +119,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/urara/mainboard.c b/src/mainboard/google/urara/mainboard.c
index 3eaad3451e..7bf8b908a3 100644
--- a/src/mainboard/google/urara/mainboard.c
+++ b/src/mainboard/google/urara/mainboard.c
@@ -43,7 +43,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/veyron/mainboard.c b/src/mainboard/google/veyron/mainboard.c
index d8ac310643..5243dc9290 100644
--- a/src/mainboard/google/veyron/mainboard.c
+++ b/src/mainboard/google/veyron/mainboard.c
@@ -123,7 +123,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/veyron_mickey/mainboard.c b/src/mainboard/google/veyron_mickey/mainboard.c
index bb239732b5..9024b6c66a 100644
--- a/src/mainboard/google/veyron_mickey/mainboard.c
+++ b/src/mainboard/google/veyron_mickey/mainboard.c
@@ -101,7 +101,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
diff --git a/src/mainboard/google/veyron_rialto/mainboard.c b/src/mainboard/google/veyron_rialto/mainboard.c
index 074e6a4e99..6259955669 100644
--- a/src/mainboard/google/veyron_rialto/mainboard.c
+++ b/src/mainboard/google/veyron_rialto/mainboard.c
@@ -107,7 +107,7 @@ void lb_board(struct lb_header *header)
struct lb_range *dma;
dma = (struct lb_range *)lb_new_record(header);
- dma->tag = LB_TAB_DMA;
+ dma->tag = LB_TAG_DMA;
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);