]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc83xx: remove unneeded extern declaration in cpu_init
authorHeiko Schocher <hs@denx.de>
Wed, 15 Apr 2020 08:35:40 +0000 (10:35 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 17 Sep 2020 04:09:53 +0000 (06:09 +0200)
remove
extern void qe_init(uint qe_base);
extern void qe_reset(void);

and include fsl_qe.h instead.

Signed-off-by: Heiko Schocher <hs@denx.de>
Series-changes: 2
- new in v2

arch/powerpc/cpu/mpc83xx/cpu_init.c

index 438b14b162eb76317e192990c69a28c24e2dd2ec..b21b0b03249afb9a50deb3a9cb1dd54102c4daa7 100644 (file)
@@ -9,6 +9,7 @@
 #include <ioports.h>
 #include <asm/io.h>
 #include <asm/processor.h>
+#include <fsl_qe.h>
 #ifdef CONFIG_USB_EHCI_FSL
 #include <usb/ehci-ci.h>
 #endif
@@ -26,8 +27,6 @@ DECLARE_GLOBAL_DATA_PTR;
 extern qe_iop_conf_t qe_iop_conf_tab[];
 extern void qe_config_iopin(u8 port, u8 pin, int dir,
                         int open_drain, int assign);
-extern void qe_init(uint qe_base);
-extern void qe_reset(void);
 
 static void config_qe_ioports(void)
 {