From f06bf5fe8e7dc58a6600671b345b545827dcb823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Mon, 4 Apr 2016 19:04:15 +0000 Subject: [PATCH] add missing include of pci_errata.h enable -O2 optimization --- Makefile | 1 + pci/pci.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index d27d97e..1150666 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,7 @@ endif INCLUDE=-Iinclude CFLAGS= -Wall \ + -O2 \ -fomit-frame-pointer \ -ffreestanding \ -fleading-underscore \ diff --git a/pci/pci.c b/pci/pci.c index 39dc6de..cbd9fbf 100644 --- a/pci/pci.c +++ b/pci/pci.c @@ -26,6 +26,7 @@ #include #include "pci.h" +#include "pci_errata.h" #include "bas_types.h" #include "bas_printf.h" #include "bas_string.h"