mb/google/skyrim: Add initial I2C configuration
[coreboot.git] / src / lib / prog_ops.c
blob2b965edb0a8ec386e72f6783af3365a1dfd2afb2
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <program_loading.h>
5 /* For each segment of a program loaded this function is called*/
6 void prog_segment_loaded(uintptr_t start, size_t size, int flags)
8 platform_segment_loaded(start, size, flags);
9 arch_segment_loaded(start, size, flags);
12 void __weak platform_segment_loaded(uintptr_t start,
13 size_t size, int flags)
15 /* do nothing */
18 void __weak arch_segment_loaded(uintptr_t start, size_t size,
19 int flags)
21 /* do nothing */
24 void prog_run(struct prog *prog)
26 platform_prog_run(prog);
27 arch_prog_run(prog);
30 void __weak platform_prog_run(struct prog *prog)
32 /* do nothing */