diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2016-03-09 17:21:33 -0600 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2016-04-04 20:45:19 +0200 |
commit | 66959011d8304292e18dc25a5339c65fe374ca5b (patch) | |
tree | 11f77f4b3af20ed6b488e2e630bd48918e130d3f | |
parent | 82657cad24416441688c2e449dbbe13471e3b280 (diff) |
arch/power8: Position bootblock start at reset vector
Change-Id: I99c3b4dd0c4da41b99bc108977079c8069afc0bd
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: https://review.coreboot.org/14019
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/arch/power8/Makefile.inc | 5 | ||||
-rw-r--r-- | 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 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 |