From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 31 Mar 2017 22:21:20 -0600 Subject: [U-Boot] [PATCH v8 1/2] gpio: at91_gpio: remove CPU_HAS_PIO3 macro In-Reply-To: <20170323044437.11394-2-wenyou.yang@atmel.com> References: <20170323044437.11394-1-wenyou.yang@atmel.com> <20170323044437.11394-2-wenyou.yang@atmel.com> 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 On 22 March 2017 at 22:44, Wenyou Yang wrote: > The intention of the removal is the preparation to introduce the > new AT91 PIO pinctrl driver. > > Use the union to make the PIO3 and PIO2's registers be together > and make their offset aligned. > > Signed-off-by: Wenyou Yang > --- > > Changes in v8: None > Changes in v7: > - Fix the missing conversion for the at91_emac driver when building > the at91rm9200 devices. > > Changes in v6: > - Move PIO_SCDR_DIV define from mach/ to mach/at91_pio.h > to fix the build error. > > Changes in v5: None > Changes in v4: > - Fix the incomplete conversion of the peripheral configurations on > the sama5d3, sam9x5, and sam9n12. > > Changes in v3: None > Changes in v2: None > > arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c | 106 ++++++------ > arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c | 112 ++++++------- > arch/arm/mach-at91/armv7/sama5d3_devices.c | 140 ++++++++-------- > arch/arm/mach-at91/include/mach/at91_pio.h | 63 ++++---- > arch/arm/mach-at91/include/mach/at91sam9x5.h | 2 - > arch/arm/mach-at91/include/mach/sama5d3.h | 2 - > arch/arm/mach-at91/include/mach/sama5d4.h | 2 - > board/atmel/at91sam9n12ek/at91sam9n12ek.c | 10 +- > board/atmel/at91sam9x5ek/at91sam9x5ek.c | 90 +++++------ > board/atmel/sama5d3xek/sama5d3xek.c | 64 ++++---- > board/atmel/sama5d4_xplained/sama5d4_xplained.c | 148 ++++++++--------- > board/atmel/sama5d4ek/sama5d4ek.c | 136 ++++++++-------- > board/denx/ma5d4evk/ma5d4evk.c | 178 ++++++++++----------- > board/l+g/vinco/vinco.c | 70 ++++---- > drivers/gpio/at91_gpio.c | 142 ++++++++++------ > drivers/net/at91_emac.c | 4 +- > 16 files changed, 660 insertions(+), 609 deletions(-) Reviewed-by: Simon Glass