[Armadeus-commitlog] UNNAMED PROJECT branch, armadeus-2020.07, updated. e69c987e42180448c1566ef97f
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2021-08-10 09:07:35
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, armadeus-2020.07 has been updated
via e69c987e42180448c1566ef97fe6d6309ebb55ea (commit)
from 1a666b78db02191325f67b630aaa0f65c18b4af4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e69c987e42180448c1566ef97fe6d6309ebb55ea
Author: Sébastien Szymanski <seb...@ar...>
Date: Tue Aug 10 09:46:48 2021 +0200
imx8m: opos8mm: add weak functions opos8mm_board{,late}_init
-----------------------------------------------------------------------
Summary of changes:
arch/arm/include/asm/arch-imx8m/opos8mm.h | 2 ++
arch/arm/mach-imx/imx8m/opos8mm.c | 12 +++++++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-imx8m/opos8mm.h b/arch/arm/include/asm/arch-imx8m/opos8mm.h
index 46f874641a..0ff08102fb 100644
--- a/arch/arm/include/asm/arch-imx8m/opos8mm.h
+++ b/arch/arm/include/asm/arch-imx8m/opos8mm.h
@@ -6,6 +6,8 @@
#ifndef __ARCH_ARM_IMX8MM_OPOS8MM_H__
#define __ARCH_ARM_IMX8MM_OPOS8MM_H__
+int opos8mm_board_init(void);
+int opos8mm_board_late_init(void);
int opos8mm_board_early_init_f(void);
#endif
diff --git a/arch/arm/mach-imx/imx8m/opos8mm.c b/arch/arm/mach-imx/imx8m/opos8mm.c
index 9eb1c7b18e..fc6c4513ff 100644
--- a/arch/arm/mach-imx/imx8m/opos8mm.c
+++ b/arch/arm/mach-imx/imx8m/opos8mm.c
@@ -37,14 +37,24 @@ int board_phy_config(struct phy_device *phydev)
}
#endif
+int __weak opos8mm_board_init(void)
+{
+ return 0;
+}
+
int board_init(void)
+{
+ return opos8mm_board_init();
+}
+
+int __weak opos8mm_board_late_init(void)
{
return 0;
}
int board_late_init(void)
{
- return 0;
+ return opos8mm_board_late_init();
}
int dram_init(void)
hooks/post-receive
--
UNNAMED PROJECT
|