summaryrefslogtreecommitdiff
path: root/src/mainboard/google/purin/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/purin/mainboard.c')
-rw-r--r--src/mainboard/google/purin/mainboard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/purin/mainboard.c b/src/mainboard/google/purin/mainboard.c
index 319cb29273..52f86d8263 100644
--- a/src/mainboard/google/purin/mainboard.c
+++ b/src/mainboard/google/purin/mainboard.c
@@ -19,6 +19,7 @@
#include <device/device.h>
#include <boot/coreboot_tables.h>
+#include <symbols.h>
static void mainboard_init(device_t dev)
{
@@ -35,4 +36,11 @@ struct chip_operations mainboard_ops = {
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->size = sizeof(*dma);
+ dma->range_start = (uintptr_t)_dma_coherent;
+ dma->range_size = _dma_coherent_size;
}