imx93: Use a header for imx9_probe_mu declaration
Put imx9_probe_mu declaration in a new mu.h header file. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
This commit is contained in:
committed by
Fabio Estevam
parent
05d3602737
commit
2029a4c6be
@@ -0,0 +1,13 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright (C) 2024 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_IMX9_MU_H
|
||||
#define __ARCH_IMX9_MU_H
|
||||
|
||||
#include <event.h>
|
||||
|
||||
int imx9_probe_mu(void *ctx, struct event *event);
|
||||
|
||||
#endif
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/imx93_pins.h>
|
||||
#include <asm/arch/mu.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/mach-imx/boot_mode.h>
|
||||
@@ -91,7 +92,6 @@ int power_init_board(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
extern int imx9_probe_mu(void *ctx, struct event *event);
|
||||
void board_init_f(ulong dummy)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/ddr.h>
|
||||
#include <asm/arch/mu.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/arch/trdc.h>
|
||||
#include <asm/mach-imx/boot_mode.h>
|
||||
@@ -99,7 +100,6 @@ int power_init_board(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern int imx9_probe_mu(void *ctx, struct event *event);
|
||||
void board_init_f(ulong dummy)
|
||||
{
|
||||
int ret;
|
||||
|
||||
Reference in New Issue
Block a user