summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-05-19 09:42:19 -0400
committerTom Rini <trini@konsulko.com>2019-05-19 09:42:19 -0400
commite14d9ca4919e5bc987fc628135104f2b2c91af90 (patch)
tree57c9e4fea351c589d4f3293d18765e7981c3e84a /arch
parentd3d212b6240f75006c18e4c59b3b28d81eedb7d3 (diff)
parent604ce762e3ef2e8e1ce387df4a40bdc52119421d (diff)
Merge git://git.denx.de/u-boot-x86
- Allow coreboot to process unhandled tags - Enable NVMe on QEMU x86_64 target
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/cpu/coreboot/tables.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/cpu/coreboot/tables.c b/arch/x86/cpu/coreboot/tables.c
index bc18b710c9..37e0424b5e 100644
--- a/arch/x86/cpu/coreboot/tables.c
+++ b/arch/x86/cpu/coreboot/tables.c
@@ -109,6 +109,10 @@ static void cb_parse_string(unsigned char *ptr, char **info)
*info = (char *)((struct cb_string *)ptr)->string;
}
+__weak void cb_parse_unhandled(u32 tag, unsigned char *ptr)
+{
+}
+
static int cb_parse_header(void *addr, int len, struct sysinfo_t *info)
{
struct cb_header *header;
@@ -211,6 +215,9 @@ static int cb_parse_header(void *addr, int len, struct sysinfo_t *info)
case CB_TAG_VBNV:
cb_parse_vbnv(ptr, info);
break;
+ default:
+ cb_parse_unhandled(rec->tag, ptr);
+ break;
}
ptr += rec->size;