[coreboot-gerrit] Patch set updated for coreboot: arch/power8: Position bootblock start at reset vector

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Mon Apr 4 20:16:54 CEST 2016


Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14019

-gerrit

commit f61bbf3b1d9c337bf5b49cc3330b7f304912f292
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Wed Mar 9 17:21:33 2016 -0600

    arch/power8: Position bootblock start at reset vector
    
    Change-Id: I99c3b4dd0c4da41b99bc108977079c8069afc0bd
    Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
 src/arch/power8/Makefile.inc | 5 ++++-
 src/arch/power8/bootblock.S  | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/arch/power8/Makefile.inc b/src/arch/power8/Makefile.inc
index 54e97f9..55c5470 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 3b864aa..77289a1 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



More information about the coreboot-gerrit mailing list