From ae3acc651a459500bc11ba938607875c6ae21f3a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 31 Aug 2020 15:24:50 +0200 Subject: msp430fr: rename spi_b to spi to be consistent with other architectures --- src/arch/msp430fr5969lp/Makefile.inc | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/arch/msp430fr5969lp/Makefile.inc') diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc index 8a48859..af285ac 100644 --- a/src/arch/msp430fr5969lp/Makefile.inc +++ b/src/arch/msp430fr5969lp/Makefile.inc @@ -47,12 +47,8 @@ else ifneq ($(findstring i2c,${arch_drivers}), ) CONFIG_arch_msp430fr5969lp_driver_i2c = y endif -ifneq ($(findstring spi_a1,${arch_drivers}), ) - CONFIG_arch_msp430fr5969lp_driver_spi_a1 = y -endif - -ifneq ($(findstring spi_b,${arch_drivers}), ) - CONFIG_arch_msp430fr5969lp_driver_spi_b = y +ifneq ($(findstring spi,${arch_drivers}), ) + CONFIG_arch_msp430fr5969lp_driver_spi = y endif ifneq ($(findstring timer,${arch_drivers}), ) @@ -82,12 +78,8 @@ ifdef CONFIG_arch_msp430fr5969lp_driver_i2c COMMON_FLAGS += -DDRIVER_I2C endif -ifdef CONFIG_arch_msp430fr5969lp_driver_spi_a1 - CXX_TARGETS += src/arch/msp430fr5969lp/driver/spi_a1.cc -endif - -ifdef CONFIG_arch_msp430fr5969lp_driver_spi_b - CXX_TARGETS += src/arch/msp430fr5969lp/driver/spi_b.cc +ifdef CONFIG_arch_msp430fr5969lp_driver_spi + CXX_TARGETS += src/arch/msp430fr5969lp/driver/spi.cc endif ifdef CONFIG_arch_msp430fr5969lp_driver_timer -- cgit v1.2.3