summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/arch/arm64/coreboot.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/payloads/libpayload/arch/arm64/coreboot.c b/payloads/libpayload/arch/arm64/coreboot.c
index 03aec5733c..a25c51adff 100644
--- a/payloads/libpayload/arch/arm64/coreboot.c
+++ b/payloads/libpayload/arch/arm64/coreboot.c
@@ -35,27 +35,17 @@
/* This pointer gets set in head.S and is passed in from coreboot. */
void *cb_header_ptr;
-static void cb_parse_dma(void *ptr)
-{
- struct lb_range *dma = (struct lb_range *)ptr;
- init_dma_memory(phys_to_virt(dma->range_start), dma->range_size);
-}
+/* == Architecture specific == */
int cb_parse_arch_specific(struct cb_record *rec, struct sysinfo_t *info)
{
switch(rec->tag) {
- case CB_TAG_DMA:
- cb_parse_dma(rec);
- break;
default:
return 0;
}
return 1;
}
-/* == Architecture specific == */
-/* FIXME put in actual address range */
-
int get_coreboot_info(struct sysinfo_t *info)
{
return cb_parse_header(cb_header_ptr, 1, info);