summaryrefslogtreecommitdiff
path: root/drivers/block/ftide020.c
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2013-07-31 09:30:38 (GMT)
committerStefano Babic <sbabic@denx.de>2013-07-31 09:30:38 (GMT)
commit326ea986ac150acdc7656d57fca647db80b50158 (patch)
tree15724288b8b6da3a98d934db8330bb964cdfdf36 /drivers/block/ftide020.c
parent4acb4d391f005c0c72f7b84041b3884e4260a5a4 (diff)
parentfdce7b633a1de24456226b18527cc7900c34282a (diff)
downloadu-boot-326ea986ac150acdc7656d57fca647db80b50158.tar.xz
Merge git://git.denx.de/u-boot-arm
Conflicts: board/freescale/mx6qsabrelite/Makefile board/freescale/mx6qsabrelite/mx6qsabrelite.c include/configs/mx6qsabrelite.h Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/block/ftide020.c')
-rw-r--r--drivers/block/ftide020.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/drivers/block/ftide020.c b/drivers/block/ftide020.c
index ad8fdad..1f6995e 100644
--- a/drivers/block/ftide020.c
+++ b/drivers/block/ftide020.c
@@ -6,24 +6,7 @@
* Macpaul Lin <macpaul@andestech.com>
* Kuo-Wei Chou <kwchou@andestech.com>
*
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
+ * SPDX-License-Identifier: GPL-2.0+
*/
/* ftide020.c - ide support functions for the FTIDE020_S controller */
@@ -81,7 +64,7 @@ void ide_write_register(int dev, unsigned int port, unsigned char val)
IDE_REG_DA_WRITE(port) | val);
}
-void ide_write_data(int dev, ulong *sect_buf, int words)
+void ide_write_data(int dev, const ulong *sect_buf, int words)
{
static struct ftide020_s *ftide020 = (struct ftide020_s *) FTIDE_BASE;