Skip to content

Commit

Permalink
dts: at91: removed useless definition
Browse files Browse the repository at this point in the history
Currently, if this file is included before at91_pmc.h, this leads to
multiple definitions of some defines. Moreover, these defines are not
the value expected by the driver but probably some leftover of previous
bindings.

Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
  • Loading branch information
clementleger authored and jforissier committed Nov 23, 2021
1 parent 1b4b933 commit 2e5e1a4
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions core/include/dt-bindings/clock/at91.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,4 @@
#define PMC_ETHPLL (PMC_MAIN + 8)
#define PMC_CPU (PMC_MAIN + 9)

#ifndef AT91_PMC_MOSCS
/* MOSCS Flag */
#define AT91_PMC_MOSCS 0
/* PLLA Lock */
#define AT91_PMC_LOCKA 1
/* PLLB Lock */
#define AT91_PMC_LOCKB 2
/* Master Clock */
#define AT91_PMC_MCKRDY 3
/* UPLL Lock */
#define AT91_PMC_LOCKU 6
/* Programmable Clock */
#define AT91_PMC_PCKRDY(id) (8 + (id))
/* Main Oscillator Selection */
#define AT91_PMC_MOSCSELS 16
/* Main On-Chip RC */
#define AT91_PMC_MOSCRCS 17
/* Clock Failure Detector Event */
#define AT91_PMC_CFDEV 18
/* Generated Clocks */
#define AT91_PMC_GCKRDY 24
#endif

#endif

0 comments on commit 2e5e1a4

Please sign in to comment.