summaryrefslogtreecommitdiff
path: root/src/arch/power8
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power8')
-rw-r--r--src/arch/power8/Makefile.inc5
-rw-r--r--src/arch/power8/bootblock.S4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/arch/power8/Makefile.inc b/src/arch/power8/Makefile.inc
index 54e97f966a..55c5470fd1 100644
--- a/src/arch/power8/Makefile.inc
+++ b/src/arch/power8/Makefile.inc
@@ -2,6 +2,7 @@
##
## This file is part of the coreboot project.
##
+## Copyright (C) 2016 Raptor Engineering, LLC
## Copyright (C) 2014 The ChromiumOS Authors
##
## This program is free software; you can redistribute it and/or modify
@@ -15,7 +16,7 @@
##
################################################################################
-power8_flags = -I$(src)/arch/power8/
+power8_flags = -I$(src)/arch/power8/ -mbig-endian -mcpu=power8 -mtune=power8
power8_asm_flags =
@@ -34,6 +35,8 @@ bootblock-y += \
$(top)/src/lib/memmove.c \
$(top)/src/lib/memset.c
+bootblock-generic-ccopts += $(power8_flags)
+
$(objcbfs)/bootblock.debug: $$(bootblock-objs)
@printf " LINK $(subst $(obj)/,,$(@))\n"
$(LD_bootblock) $(LDFLAGS_bootblock) -o $@ -L$(obj) \
diff --git a/src/arch/power8/bootblock.S b/src/arch/power8/bootblock.S
index 3b864aa21a..77289a1246 100644
--- a/src/arch/power8/bootblock.S
+++ b/src/arch/power8/bootblock.S
@@ -1,6 +1,7 @@
/*
- * Early initialization code for power8.
+ * Early initialization code for POWER8.
*
+ * Copyright 2016 Raptor Engineering, LLC
* Copyright 2013 Google Inc.
*
* This program is free software; you can redistribute it and/or
@@ -16,6 +17,7 @@
.section ".text._start", "ax", %progbits
.globl _start
+.org 0x100, 0xff
_start:
b _start
.section ".id", "a", %progbits