reducing code duplication
This commit is contained in:
parent
e3bfbd72b4
commit
0e89bf1018
|
@ -1856,19 +1856,4 @@
|
|||
/* External declarations. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setBoardConfigurationOverrides(void);
|
||||
void setPinConfigurationOverrides(void);
|
||||
void setSerialConfigurationOverrides(void);
|
||||
void setSdCardConfigurationOverrides(void);
|
||||
void setAdcChannelOverrides(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
||||
#endif /* BOARD_H */
|
||||
|
|
|
@ -1861,19 +1861,4 @@
|
|||
/* External declarations. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setBoardConfigurationOverrides(void);
|
||||
void setPinConfigurationOverrides(void);
|
||||
void setSerialConfigurationOverrides(void);
|
||||
void setSdCardConfigurationOverrides(void);
|
||||
void setAdcChannelOverrides(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
||||
#endif /* BOARD_H */
|
||||
|
|
|
@ -1621,19 +1621,5 @@
|
|||
PIN_AFIO_AF(GPIOK_PIN14, 0) | \
|
||||
PIN_AFIO_AF(GPIOK_PIN15, 0))
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setBoardConfigurationOverrides(void);
|
||||
void setPinConfigurationOverrides(void);
|
||||
void setSerialConfigurationOverrides(void);
|
||||
void setSdCardConfigurationOverrides(void);
|
||||
void setAdcChannelOverrides(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
||||
#endif /* BOARD_H */
|
||||
|
|
|
@ -1345,19 +1345,5 @@
|
|||
PIN_AFIO_AF(GPIOI_PIN15, 0U))
|
||||
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setBoardConfigurationOverrides(void);
|
||||
void setPinConfigurationOverrides(void);
|
||||
void setSerialConfigurationOverrides(void);
|
||||
void setSdCardConfigurationOverrides(void);
|
||||
void setAdcChannelOverrides(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
||||
#endif /* BOARD_H */
|
||||
|
|
|
@ -864,19 +864,4 @@
|
|||
PIN_AFIO_AF( 1, 0U))
|
||||
#define VAL_GPIOH_AFRH (0)
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setBoardConfigurationOverrides(void);
|
||||
void setPinConfigurationOverrides(void);
|
||||
void setSerialConfigurationOverrides(void);
|
||||
void setSdCardConfigurationOverrides(void);
|
||||
void setAdcChannelOverrides(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
||||
#endif /* BOARD_H */
|
||||
|
|
|
@ -49,5 +49,20 @@ extern "C"
|
|||
#define ON_UNLOCK_HOOK
|
||||
#endif /* EFI_CLOCK_LOCKS */
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setBoardConfigurationOverrides(void);
|
||||
void setPinConfigurationOverrides(void);
|
||||
void setSerialConfigurationOverrides(void);
|
||||
void setSdCardConfigurationOverrides(void);
|
||||
void setAdcChannelOverrides(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
||||
|
||||
#endif /* CONFIG_CHCONF_COMMON_H_ */
|
||||
|
|
Loading…
Reference in New Issue