summaryrefslogtreecommitdiffstats
path: root/lpc_reset.c
blob: b1e79397d58d298539a7a94542e8757d551cfd1c (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"

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