boards: spresense: Remove duplicate definitions
Remove duplicate definitions are defined in board.h.
This commit is contained in:
parent
56d43a4a1d
commit
171f8a731c
@ -29,20 +29,6 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define PMIC_NONE (0)
|
||||
#define PMIC_TYPE_LSW (1u << 8)
|
||||
#define PMIC_TYPE_GPO (1u << 9)
|
||||
#define PMIC_TYPE_DDCLDO (1u << 10)
|
||||
#define PMIC_GET_TYPE(v) ((v) & 0xff00)
|
||||
#define PMIC_GET_CH(v) ((v) & 0x00ff)
|
||||
#define PMIC_LSW(n) (PMIC_TYPE_LSW | (1u << (n)))
|
||||
#define PMIC_GPO(n) (PMIC_TYPE_GPO | (1u << (n)))
|
||||
#define PMIC_DDCLDO(n) (PMIC_TYPE_DDCLDO | (1u << (n)))
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
@ -62,6 +48,10 @@ extern "C"
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: board_pmic_read
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user