summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-tegra/sys_proto.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-05 14:39:42 -0600
committerTom Warren <twarren@nvidia.com>2015-06-09 09:56:15 -0700
commitc96d709f30cdf57ba78ef780066784a09276705f (patch)
tree68b066379e2c2645e02b164bf1280230a3b4294e /arch/arm/include/asm/arch-tegra/sys_proto.h
parentacbf5bbfe9f49ff95d3749944ed26b05f9948142 (diff)
downloadu-boot-imx-c96d709f30cdf57ba78ef780066784a09276705f.zip
u-boot-imx-c96d709f30cdf57ba78ef780066784a09276705f.tar.gz
u-boot-imx-c96d709f30cdf57ba78ef780066784a09276705f.tar.bz2
tegra: Allow board-specific init
Add a hook to allows boards to add their own init to board_init(). Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/include/asm/arch-tegra/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-tegra/sys_proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra/sys_proto.h b/arch/arm/include/asm/arch-tegra/sys_proto.h
index 83f9f47..b64f9d8 100644
--- a/arch/arm/include/asm/arch-tegra/sys_proto.h
+++ b/arch/arm/include/asm/arch-tegra/sys_proto.h
@@ -25,4 +25,11 @@ int tegra_board_id(void);
*/
int tegra_lcd_pmic_init(int board_id);
+/**
+ * nvidia_board_init() - perform any board-specific init
+ *
+ * @return 0 if OK, -ve on error
+ */
+int nvidia_board_init(void);
+
#endif