nitrogen6x: Move setup_sata to common part
authorGiuseppe Pagano <giuseppe.pagano@seco.com>
Thu, 28 Nov 2013 11:32:48 +0000 (12:32 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 17 Dec 2013 17:12:14 +0000 (18:12 +0100)
commit164d98466103a46b7c881149e92ec2a28a6375be
tree138acc7e8cc9ce11bfb28f4d423bd63ad663bb24
parentb47abc36aaa4695ed50226ca1f3bd8f0b58bdaa6
nitrogen6x: Move setup_sata to common part

Move setup_sata function definition from platform file nitrogen6x.c
to arch/arm/imx-common/sata.c to avoid code duplication.

Signed-off-by: Giuseppe Pagano <giuseppe.pagano@seco.com>
CC: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
CC: Eric Nelson <eric.nelson@boundarydevices.com>
arch/arm/imx-common/Makefile
arch/arm/imx-common/sata.c [new file with mode: 0644]
arch/arm/include/asm/imx-common/sata.h [new file with mode: 0644]
board/boundary/nitrogen6x/nitrogen6x.c