SAM3/4: Fix compile of sam_aes.c if CONFIG_CRYPTO_AES is defined. rom Max Nekludov

This commit is contained in:
Gregory Nutt 2014-07-07 08:03:18 -06:00
parent dc7bcb0c1d
commit 0d14befb88
2 changed files with 5 additions and 1 deletions

View File

@ -86,6 +86,10 @@ CHIP_CSRCS += sam_serial.c sam_start.c sam_timerisr.c
# Configuration-dependent SAM3/4 files
ifeq ($(CONFIG_CRYPTO_AES),y)
CHIP_CSRCS += sam_aes.c
endif
ifeq ($(CONFIG_ARCH_CHIP_SAM4CM),y)
CHIP_CSRCS += sam4cm_supc.c
endif

View File

@ -4,7 +4,7 @@
#
config BCH_ENCRYPTION
bool "Enable encryption feature"
bool "Enable BCH encryption"
default n
depends on CRYPTO_AES