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)
This commit is contained in:
parent
82657cad24
commit
66959011d8
|
@ -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) \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue