diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/Makefile | 18 | ||||
-rw-r--r-- | drivers/block/ahci.c | 19 | ||||
-rw-r--r-- | drivers/block/ata_piix.c | 15 | ||||
-rw-r--r-- | drivers/block/dwc_ahsata.c | 18 | ||||
-rw-r--r-- | drivers/block/dwc_ahsata.h | 15 | ||||
-rw-r--r-- | drivers/block/fsl_sata.c | 15 | ||||
-rw-r--r-- | drivers/block/fsl_sata.h | 15 | ||||
-rw-r--r-- | drivers/block/ftide020.c | 21 | ||||
-rw-r--r-- | drivers/block/ftide020.h | 19 | ||||
-rw-r--r-- | drivers/block/libata.c | 16 | ||||
-rw-r--r-- | drivers/block/mvsata_ide.c | 18 | ||||
-rw-r--r-- | drivers/block/mxc_ata.c | 15 | ||||
-rw-r--r-- | drivers/block/sata_dwc.c | 7 | ||||
-rw-r--r-- | drivers/block/sata_dwc.h | 7 | ||||
-rw-r--r-- | drivers/block/sata_sil.c | 15 | ||||
-rw-r--r-- | drivers/block/sata_sil.h | 15 | ||||
-rw-r--r-- | drivers/block/sata_sil3114.c | 15 | ||||
-rw-r--r-- | drivers/block/sata_sil3114.h | 15 | ||||
-rw-r--r-- | drivers/block/sil680.c | 19 | ||||
-rw-r--r-- | drivers/block/sym53c8xx.c | 18 | ||||
-rw-r--r-- | drivers/block/systemace.c | 15 |
21 files changed, 22 insertions, 308 deletions
diff --git a/drivers/block/Makefile b/drivers/block/Makefile index f1ebdcc..2016e98 100644 --- a/drivers/block/Makefile +++ b/drivers/block/Makefile @@ -2,23 +2,7 @@ # (C) Copyright 2000-2007 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. # -# 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+ # include $(TOPDIR)/config.mk diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index cab7f8c..e455ba5 100644 --- a/drivers/block/ahci.c +++ b/drivers/block/ahci.c @@ -3,26 +3,9 @@ * Author: Jason Jin<Jason.jin@freescale.com> * Zhang Wei<wei.zhang@freescale.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+ * * with the reference on libata and ahci drvier in kernel - * */ #include <common.h> diff --git a/drivers/block/ata_piix.c b/drivers/block/ata_piix.c index fcae448..5cf91ad 100644 --- a/drivers/block/ata_piix.c +++ b/drivers/block/ata_piix.c @@ -3,20 +3,7 @@ * Author: Mushtaq Khan <mushtaq_k@procsys.com> * <mushtaqk_921@yahoo.co.in> * - * 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+ * * with the reference to ata_piix driver in kernel 2.4.32 */ diff --git a/drivers/block/dwc_ahsata.c b/drivers/block/dwc_ahsata.c index 98f2c52..3569214 100644 --- a/drivers/block/dwc_ahsata.c +++ b/drivers/block/dwc_ahsata.c @@ -2,23 +2,7 @@ * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. * Terry Lv <r65388@freescale.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. - * + * SPDX-License-Identifier: GPL-2.0+ */ #include <libata.h> diff --git a/drivers/block/dwc_ahsata.h b/drivers/block/dwc_ahsata.h index 4dac5dc..caa2e50 100644 --- a/drivers/block/dwc_ahsata.h +++ b/drivers/block/dwc_ahsata.h @@ -2,20 +2,7 @@ * Copyright (C) 2010 Freescale Semiconductor, Inc. * Terry Lv <r65388@freescale.com> * - * 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+ */ #ifndef __FSL_SATA_H__ diff --git a/drivers/block/fsl_sata.c b/drivers/block/fsl_sata.c index 1f9d7b0..ebd6261 100644 --- a/drivers/block/fsl_sata.c +++ b/drivers/block/fsl_sata.c @@ -2,20 +2,7 @@ * Copyright (C) 2008,2010 Freescale Semiconductor, Inc. * Dave Liu <daveliu@freescale.com> * - * 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+ */ #include <common.h> diff --git a/drivers/block/fsl_sata.h b/drivers/block/fsl_sata.h index a9c27bc..18d679e 100644 --- a/drivers/block/fsl_sata.h +++ b/drivers/block/fsl_sata.h @@ -2,20 +2,7 @@ * Copyright (C) 2007-2008 Freescale Semiconductor, Inc. * Dave Liu <daveliu@freescale.com> * - * 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+ */ #ifndef __FSL_SATA_H__ 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; diff --git a/drivers/block/ftide020.h b/drivers/block/ftide020.h index 29d3de9..2d88c7c 100644 --- a/drivers/block/ftide020.h +++ b/drivers/block/ftide020.h @@ -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+ */ #ifndef __FTIDE020_H diff --git a/drivers/block/libata.c b/drivers/block/libata.c index 65b0203..d684270 100644 --- a/drivers/block/libata.c +++ b/drivers/block/libata.c @@ -3,21 +3,7 @@ * Dave Liu <daveliu@freescale.com> * port from the libata of linux kernel * - * 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+ */ #include <libata.h> diff --git a/drivers/block/mvsata_ide.c b/drivers/block/mvsata_ide.c index 42c177f..574bc40 100644 --- a/drivers/block/mvsata_ide.c +++ b/drivers/block/mvsata_ide.c @@ -3,23 +3,7 @@ * * Written-by: Albert ARIBAUD <albert.u.boot@aribaud.net> * - * 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., 51 Franklin Street, Fifth Floor, Boston, - * MA 02110-1301 USA + * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/block/mxc_ata.c b/drivers/block/mxc_ata.c index 35bc656..44bb406 100644 --- a/drivers/block/mxc_ata.c +++ b/drivers/block/mxc_ata.c @@ -10,20 +10,7 @@ * part of eCos, the Embedded Configurable Operating System. * Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. * - * 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+ */ #include <common.h> diff --git a/drivers/block/sata_dwc.c b/drivers/block/sata_dwc.c index 49288a7..efca5ea 100644 --- a/drivers/block/sata_dwc.c +++ b/drivers/block/sata_dwc.c @@ -12,12 +12,7 @@ * Copyright 2006 Applied Micro Circuits Corporation * COPYRIGHT (C) 2005 SYNOPSYS, INC. ALL RIGHTS RESERVED * - * 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. - * + * SPDX-License-Identifier: GPL-2.0+ */ /* * SATA support based on the chip canyonlands. diff --git a/drivers/block/sata_dwc.h b/drivers/block/sata_dwc.h index e4e4ab1..e2d9e0c 100644 --- a/drivers/block/sata_dwc.h +++ b/drivers/block/sata_dwc.h @@ -12,12 +12,7 @@ * Copyright 2006 Applied Micro Circuits Corporation * COPYRIGHT (C) 2005 SYNOPSYS, INC. ALL RIGHTS RESERVED * - * 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. - * + * SPDX-License-Identifier: GPL-2.0+ */ /* * SATA support based on the chip canyonlands. diff --git a/drivers/block/sata_sil.c b/drivers/block/sata_sil.c index b70f04d..1f510cd 100644 --- a/drivers/block/sata_sil.c +++ b/drivers/block/sata_sil.c @@ -2,20 +2,7 @@ * Copyright (C) 2011 Freescale Semiconductor, Inc. * Author: Tang Yuantian <b29983@freescale.com> * - * 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+ */ #include <common.h> diff --git a/drivers/block/sata_sil.h b/drivers/block/sata_sil.h index 9f3a37f..55954ef 100644 --- a/drivers/block/sata_sil.h +++ b/drivers/block/sata_sil.h @@ -2,20 +2,7 @@ * Copyright (C) 2011 Freescale Semiconductor, Inc. * Author: Tang Yuantian <b29983@freescale.com> * - * 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+ */ #ifndef SATA_SIL3132_H diff --git a/drivers/block/sata_sil3114.c b/drivers/block/sata_sil3114.c index 3a5e032..3aa6fc9 100644 --- a/drivers/block/sata_sil3114.c +++ b/drivers/block/sata_sil3114.c @@ -2,20 +2,7 @@ * Copyright (C) Excito Elektronik i Skåne AB, All rights reserved. * Author: Tor Krill <tor@excito.com> * - * 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+ * * This is a driver for Silicon Image sil3114 sata chip modelled on * the ata_piix driver diff --git a/drivers/block/sata_sil3114.h b/drivers/block/sata_sil3114.h index f77423a..091fca1 100644 --- a/drivers/block/sata_sil3114.h +++ b/drivers/block/sata_sil3114.h @@ -2,20 +2,7 @@ * Copyright (C) Excito Elektronik i Skåne AB, All rights reserved. * Author: Tor Krill <tor@excito.com> * - * 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+ */ #ifndef SATA_SIL3114_H diff --git a/drivers/block/sil680.c b/drivers/block/sil680.c index e21fb9b..3ca64b9 100644 --- a/drivers/block/sil680.c +++ b/drivers/block/sil680.c @@ -2,24 +2,7 @@ * (C) Copyright 2007 * Gary Jennejohn, DENX Software Engineering, garyj@denx.de. * - * 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+ */ /* sil680.c - ide support functions for the Sil0680A controller */ diff --git a/drivers/block/sym53c8xx.c b/drivers/block/sym53c8xx.c index 656683a..c538e37 100644 --- a/drivers/block/sym53c8xx.c +++ b/drivers/block/sym53c8xx.c @@ -2,23 +2,7 @@ * (C) Copyright 2001 * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch. * - * 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+ * partly derived from * linux/drivers/scsi/sym53c8xx.c * diff --git a/drivers/block/systemace.c b/drivers/block/systemace.c index b08715f..fdf75b5 100644 --- a/drivers/block/systemace.c +++ b/drivers/block/systemace.c @@ -2,20 +2,7 @@ * Copyright (c) 2004 Picture Elements, Inc. * Stephen Williams (XXXXXXXXXXXXXXXX) * - * This source code is free software; you can redistribute it - * and/or modify it in source code form 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+ */ /* |