blob: 45a274c05123a4633608dc0a6e4a1233184baf62 [file] [log] [blame]
Simon Glass466c7852019-12-06 21:42:18 -07001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 Google LLC
4 * Written by Simon Glass <sjg@chromium.org>
5 */
6
Simon Glass466c7852019-12-06 21:42:18 -07007#include <init.h>
Bin Mengfe9f1df2021-08-02 17:45:22 +08008#include <asm/fsp/fsp_support.h>
Simon Glass466c7852019-12-06 21:42:18 -07009
Bin Mengfe9f1df2021-08-02 17:45:22 +080010void board_final_cleanup(void)
11{
12 u32 status;
13
14 /* TODO(sjg@chromium.org): This causes Linux to crash */
15 return;
16
17 /* call into FspNotify */
18 debug("Calling into FSP (notify phase INIT_PHASE_END_FIRMWARE): ");
19 status = fsp_notify(NULL, INIT_PHASE_END_FIRMWARE);
20 if (status)
21 debug("fail, error code %x\n", status);
22 else
23 debug("OK\n");
24}