~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 20c3f6406adf08386d3a23592d8fc9dedf24fc95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 2019 Google LLC
 * Written by Simon Glass <sjg@chromium.org>
 */

#include <common.h>
#include <init.h>
#include <asm/fsp/fsp_support.h>

int arch_fsp_init(void)
{
	return 0;
}

void board_final_cleanup(void)
{
	u32 status;

	/* TODO(sjg@chromium.org): This causes Linux to crash */
	return;

	/* call into FspNotify */
	debug("Calling into FSP (notify phase INIT_PHASE_END_FIRMWARE): ");
	status = fsp_notify(NULL, INIT_PHASE_END_FIRMWARE);
	if (status)
		debug("fail, error code %x\n", status);
	else
		debug("OK\n");
}