blob: e422ad647518c3de0222348c6e25c5732dcd9496 [file] [log] [blame]
Andrew Jeffery78847ae2018-08-03 13:35:22 +09301// SPDX-License-Identifier: Apache-2.0
2// Copyright (C) 2018 IBM Corp.
Deepak Kodihalli017e45c2017-07-12 01:06:30 -05003
4#define _GNU_SOURCE
5
6#include "mbox.h"
Andrew Jefferycd186112018-08-08 10:47:55 +09307#include "lpc.h"
Deepak Kodihalli017e45c2017-07-12 01:06:30 -05008
9/*
10 * reset_lpc() - Reset the lpc bus mapping
11 * @context: The mbox context pointer
12 *
13 * Return: 0 on success otherwise negative error code
14 */
15int reset_lpc(struct mbox_context *context)
16{
17 return point_to_flash(context);
18}