From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 29 Apr 2021 09:09:58 -0700 Subject: [PATCH v2 04/13] gpio: Introduce CONFIG_ONLY_GENERIC_GPIO to cleanup #ifdefs In-Reply-To: <161861627412.298230.5111171339392037845.stgit@localhost> References: <161861622792.298230.15803163505976731363.stgit@localhost> <161861627412.298230.5111171339392037845.stgit@localhost> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Masami, On Fri, 16 Apr 2021 at 16:38, Masami Hiramatsu wrote: > > Many architecture do not have specific asm/arch/gpio.h, so instead > of adding !defined(CONFIG_ARCH_xxx), introduce CONFIG_ONLY_GENERIC_GPIO This seems OK, but I think GPIO_GENERIC_ONLY is a better name, since it uses the GPIO prefix. I would also prefer to have a 'positive' option, but I suspect that might be a pain to do? > and select it. > > Signed-off-by: Masami Hiramatsu > --- > arch/arm/Kconfig | 17 +++++++++++++++++ > arch/arm/include/asm/gpio.h | 8 +------- > board/cortina/common/Kconfig | 1 + > 3 files changed, 19 insertions(+), 7 deletions(-) > [..] Regards, Simon