summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-12-07 14:32:18 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-12-18 20:52:27 +0100
commit5efddd7537ee921ade4969b764245fbf87d87372 (patch)
tree82c53e3d49066a9259b9651fb436ddd5309f1fcc
parentc86c6b33e8ca32ffa0f0d7e30f35f1fb31fe3b4a (diff)
downloadcoreboot-5efddd7537ee921ade4969b764245fbf87d87372.tar.xz
intel/fsp_rangeley: Fix use of __SIMPLE_DEVICE__
Required fix to have rules.h as default include. Change-Id: I6ce2d4e13de5139a84c709b5836ecd41c0abc836 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17747 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--src/northbridge/intel/fsp_rangeley/port_access.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/northbridge/intel/fsp_rangeley/port_access.c b/src/northbridge/intel/fsp_rangeley/port_access.c
index c4730a9331..418cafc281 100644
--- a/src/northbridge/intel/fsp_rangeley/port_access.c
+++ b/src/northbridge/intel/fsp_rangeley/port_access.c
@@ -14,9 +14,7 @@
* GNU General Public License for more details.
*/
-#ifndef __PRE_RAM__
-#define __PRE_RAM__ // Use simple device model for this file even in ramstage
-#endif
+#define __SIMPLE_DEVICE__
#include <stdint.h>
#include <arch/io.h>