summaryrefslogtreecommitdiff
path: root/src/lib/arch_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/arch_ops.c')
-rw-r--r--src/lib/arch_ops.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/arch_ops.c b/src/lib/arch_ops.c
index f02b342b7f..b9f57194d7 100644
--- a/src/lib/arch_ops.c
+++ b/src/lib/arch_ops.c
@@ -2,6 +2,7 @@
* This file is part of the coreboot project.
*
* Copyright (C) 2014 Imagination Technologies
+ * Copyright 2015 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,14 +21,9 @@
#include <program_loading.h>
/* For each segment of a program loaded this function is called*/
-__attribute__ ((weak)) void arch_program_segment_loaded(uintptr_t start,
- size_t size)
+void __attribute__ ((weak)) arch_segment_loaded(uintptr_t start, size_t size,
+ int flags)
{
/* do nothing */
}
-/* Upon completion of loading a program this function is called */
-__attribute__ ((weak)) void arch_program_loaded(void)
-{
- /* do nothing */
-}