mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 08:54:05 +08:00
Fix typo cloned to many files: SAM32 vs SAM34
This commit is contained in:
+180
-180
File diff suppressed because it is too large
Load Diff
@@ -575,7 +575,7 @@ endmenu # AT91SAM3/4 Peripheral Support
|
||||
if ARCH_CHIP_SAM4L
|
||||
menu "AT91SAM3/4 Clock Configuration"
|
||||
|
||||
config SAM32_RESET_PERIPHCLKS
|
||||
config SAM34_RESET_PERIPHCLKS
|
||||
bool "Enable all peripheral clocks on reset"
|
||||
default n
|
||||
---help---
|
||||
|
||||
@@ -105,7 +105,7 @@ static inline void sam_init_cpumask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_OCD
|
||||
mask |= PM_CPUMASK_OCD; /* On-Chip Debug */
|
||||
#endif
|
||||
@@ -136,7 +136,7 @@ static inline void sam_init_hsbmask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_PDCA
|
||||
mask |= PM_HSBMASK_PDCA; /* PDCA */
|
||||
#endif
|
||||
@@ -182,7 +182,7 @@ static inline void sam_init_pbamask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_IISC
|
||||
mask |= PM_PBAMASK_IISC; /* IISC */
|
||||
#endif
|
||||
@@ -290,7 +290,7 @@ static inline void sam_init_pbbmask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_HRAMC1
|
||||
mask |= PM_PBBMASK_HRAMC1; /* HRAMC1 */
|
||||
#endif
|
||||
@@ -335,7 +335,7 @@ static inline void sam_init_pbcmask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_CHIPID
|
||||
mask |= PM_PBCMASK_CHIPID; /* CHIPID */
|
||||
#endif
|
||||
@@ -368,7 +368,7 @@ static inline void sam_init_pbdmask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_AST
|
||||
mask |= PM_PBDMASK_AST; /* AST */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user