diff mbox series

[v2,1/1] imx8mm-cl-iot-gate: Remove redundant board_fix_fdt()

Message ID 20220420153707.217267-2-grandpaul@gmail.com
State New
Headers show
Series imx8mm-cl-iot-gate: Remove redundant board_fix_fdt() | expand

Commit Message

Ying-Chun Liu April 20, 2022, 3:37 p.m. UTC
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>

In arch/arm/mach-imx/imx8m/soc.c there's an implementation of
board_fix_fdt() introduced by commit 35bb60787b88. Remove the
redundant one to avoid failed to build from source when enabling
CONFIG_OF_BOARD_FIXUP.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: uboot-imx <uboot-imx@nxp.com>
---
v2: reword commit comment
---
 board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Fabio Estevam April 20, 2022, 7:10 p.m. UTC | #1
Hi Paul,

On Wed, Apr 20, 2022 at 12:37 PM Ying-Chun Liu <grandpaul@gmail.com> wrote:
>
> From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
>
> In arch/arm/mach-imx/imx8m/soc.c there's an implementation of
> board_fix_fdt() introduced by commit 35bb60787b88. Remove the
> redundant one to avoid failed to build from source when enabling
> CONFIG_OF_BOARD_FIXUP.
>
> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: uboot-imx <uboot-imx@nxp.com>
> ---
> v2: reword commit comment

This version looks good:

Reviewed-by: Fabio Estevam <festevam@denx.de>
diff mbox series

Patch

diff --git a/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c b/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
index e6021a4566..3d7fff34d2 100644
--- a/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
+++ b/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
@@ -335,11 +335,6 @@  static int iot_gate_imx8_update_ext_ied(void)
 	return 0;
 }
 
-int board_fix_fdt(void *rw_fdt_blob)
-{
-	return 0;
-}
-
 int extension_board_scan(struct list_head *extension_list)
 {
 	struct extension *extension = NULL;