drivers/pinmux: stm32: Clean up after gpio driver factorization

Clean up a left over from GPIO driver factorization.
Definition of GPIO_REG_SIZE and GPIO_PORTS_BASE do not need anymore
to be spread accross SoCs.
Put these definitions directly in STM32 pinmux driver.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-01-14 09:37:20 +01:00 committed by Kumar Gala
commit e25d6a65ac
9 changed files with 4 additions and 32 deletions

View file

@ -19,10 +19,6 @@
#ifndef _STM32F3_SOC_H_
#define _STM32F3_SOC_H_
#define GPIO_REG_SIZE 0x400
/* base address for where GPIO registers start */
#define GPIO_PORTS_BASE (GPIOA_BASE)
#ifndef _ASMLANGUAGE
#include <stm32f3xx.h>