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

#define _GNU_SOURCE

#include "lpc.h"

struct mbox_context;

/*
 * 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