summaryrefslogtreecommitdiffstats
path: root/lpc_reset.c
blob: e422ad647518c3de0222348c6e25c5732dcd9496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2018 IBM Corp.

#define _GNU_SOURCE

#include "mbox.h"
#include "lpc.h"

/*
 * reset_lpc() - Reset the lpc bus mapping
 * @context:	The mbox context pointer
 *
 * Return:	0 on success otherwise negative error code
 */
int reset_lpc(struct mbox_context *context)
{
	return point_to_flash(context);
}
OpenPOWER on IntegriCloud