blob: 1b4551c86bbd5851869dbfa84c6eec94e28406b5 [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"
7#include "mboxd_lpc.h"
8
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}