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:
parent
b5017ec7dc
commit
e25d6a65ac
9 changed files with 4 additions and 32 deletions
|
@ -18,10 +18,6 @@
|
|||
#ifndef _STM32F4_SOC_H_
|
||||
#define _STM32F4_SOC_H_
|
||||
|
||||
#define GPIO_REG_SIZE 0x400
|
||||
/* base address for where GPIO registers start */
|
||||
#define GPIO_PORTS_BASE (GPIOA_BASE)
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
#include <stm32f4xx.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue