From 5051ff5fb0ad44fae480f6af9f2c501f10dd065d Mon Sep 17 00:00:00 2001 From: "Ye.Li" Date: Thu, 6 Nov 2014 16:28:59 +0800 Subject: imx: mx6sabre common: Factorize the Pfuze init function Since the Pfuze initializations are similar on various mx6 SABRE boards. Factorize the initialization to a common function in file board/freescale/common/pfuze.c. So that all SABRE boards BSP can share the function. Signed-off-by: Ye.Li --- board/freescale/common/pfuze.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 board/freescale/common/pfuze.h (limited to 'board/freescale/common/pfuze.h') diff --git a/board/freescale/common/pfuze.h b/board/freescale/common/pfuze.h new file mode 100644 index 0000000..7a4126c --- /dev/null +++ b/board/freescale/common/pfuze.h @@ -0,0 +1,12 @@ +/* + * Copyright 2014 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __PFUZE_BOARD_HELPER__ +#define __PFUZE_BOARD_HELPER__ + +struct pmic *pfuze_common_init(unsigned char i2cbus); + +#endif -- cgit v1.1