summaryrefslogtreecommitdiff
path: root/board/freescale/common/pfuze.h
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-11-06 16:28:59 +0800
committerStefano Babic <sbabic@denx.de>2014-11-20 10:50:20 +0100
commit5051ff5fb0ad44fae480f6af9f2c501f10dd065d (patch)
treef26f34c19b9c467500d10209bdeeeb42e6ce5211 /board/freescale/common/pfuze.h
parent36523e9b0a17c2ea12b998e57ee3b3591ed719b3 (diff)
downloadu-boot-imx-5051ff5fb0ad44fae480f6af9f2c501f10dd065d.zip
u-boot-imx-5051ff5fb0ad44fae480f6af9f2c501f10dd065d.tar.gz
u-boot-imx-5051ff5fb0ad44fae480f6af9f2c501f10dd065d.tar.bz2
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 <B37916@freescale.com>
Diffstat (limited to 'board/freescale/common/pfuze.h')
-rw-r--r--board/freescale/common/pfuze.h12
1 files changed, 12 insertions, 0 deletions
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