From 4a9a421c346e2554fb6ff9a67a26cf02ad23b980 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 11 May 2018 06:26:01 -0600 Subject: [PATCH] Back out part of f4bcaa4fc2dc2f06d5632d3b74f43c25a6e7e845.If CONFIG_ARCH_IDLE_CUSTOM is defined, then it should not use the version of lc823450_idle.c in arch/arm/src/lc823450. That part was correct before the PR. If CONFIG_ARCH_IDLE_CUSTOM, then the build should use a custom IDLE loop in the board src/ directory. --- arch/arm/Kconfig | 1 - arch/arm/src/lc823450/Make.defs | 2 +- include/unistd.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 45069f54f6..062e718dc3 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -124,7 +124,6 @@ config ARCH_CHIP_LC823450 select ARCH_HAVE_MULTICPU select ARCH_HAVE_I2CRESET select ARCH_GLOBAL_IRQDISABLE - select ARCH_IDLE_CUSTOM ---help--- ON Semiconductor LC823450 architectures (ARM dual Cortex-M3) diff --git a/arch/arm/src/lc823450/Make.defs b/arch/arm/src/lc823450/Make.defs index fa9049b6ad..9d8dad59eb 100644 --- a/arch/arm/src/lc823450/Make.defs +++ b/arch/arm/src/lc823450/Make.defs @@ -89,7 +89,7 @@ CHIP_CSRCS += lc823450_syscontrol.c lc823450_gpio.c # Configuration-dependent LC823450 files -ifeq ($(CONFIG_ARCH_IDLE_CUSTOM),y) +ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y) CHIP_CSRCS += lc823450_idle.c endif diff --git a/include/unistd.h b/include/unistd.h index ed6032039b..2ac53b5204 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -365,7 +365,7 @@ int gethostname(FAR char *name, size_t size); int sethostname(FAR const char *name, size_t size); #endif -/* Get configurable system varaibles */ +/* Get configurable system variables */ long sysconf(int name);