mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 19:51:30 +03:00
[adm5120] more license cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10327 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7ab6e1eacb
commit
5d526120bd
@ -6,20 +6,10 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ADM5120_BOARD_H_
|
#ifndef _ADM5120_BOARD_H_
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
#include <linux/types.h>
|
|
||||||
#include <linux/io.h>
|
|
||||||
|
|
||||||
#include <adm5120_defs.h>
|
|
||||||
#include <adm5120_switch.h>
|
|
||||||
|
|
||||||
/* CFRDY is connected to GPIO4/INTX_1 */
|
|
||||||
#define ADM5120_CF_GPIO_NUM 4
|
|
||||||
#define ADM5120_CF_IRQ_LEVEL_BIT 0x20 /* GPIO4 = 0x20, GPIO2 = 0x10 */
|
|
||||||
#define ADM5120_IRQ_CFRDY 5
|
|
||||||
#define EXTIO_WAIT_EN (0x1 << 6)
|
|
||||||
#define EXTIO_CS1_INT1_EN (0x1 << 5)
|
|
||||||
#define EXTIO_CS0_INT0_EN (0x1 << 4)
|
|
||||||
|
|
||||||
struct cf_device {
|
|
||||||
int gpio_pin;
|
|
||||||
void *dev;
|
|
||||||
struct gendisk *gd;
|
|
||||||
};
|
|
@ -8,20 +8,10 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
#ifndef _ADM5120_DEFS_H
|
#ifndef _ADM5120_DEFS_H
|
||||||
#define _ADM5120_DEFS_H
|
#define _ADM5120_DEFS_H
|
||||||
|
@ -4,20 +4,10 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ADM5120_INFO_H
|
#ifndef _ADM5120_INFO_H
|
||||||
|
@ -9,20 +9,10 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ADM5120_INTC_H_
|
#ifndef _ADM5120_INTC_H_
|
||||||
|
@ -6,20 +6,9 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifndef _ADM5120_IRQ_H_
|
#ifndef _ADM5120_IRQ_H_
|
||||||
|
@ -6,20 +6,9 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -14,20 +14,9 @@
|
|||||||
* Copyright (C) 2007 Florian Fainelli <florian@openwrt.org>
|
* Copyright (C) 2007 Florian Fainelli <florian@openwrt.org>
|
||||||
* The original Mikrotik code seems not to have a license.
|
* The original Mikrotik code seems not to have a license.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -6,20 +6,10 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ADM5120_PLATFORM_H_
|
#ifndef _ADM5120_PLATFORM_H_
|
||||||
|
@ -9,20 +9,10 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ADM5120_SWITCH_H_
|
#ifndef _ADM5120_SWITCH_H_
|
||||||
|
@ -7,20 +7,10 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ADM5120_UART_H_
|
#ifndef _ADM5120_UART_H_
|
||||||
|
@ -10,20 +10,10 @@
|
|||||||
* Copyright (C) 2003, 2004 Ralf Baechle
|
* Copyright (C) 2003, 2004 Ralf Baechle
|
||||||
* Copyright (C) 2004 Maciej W. Rozycki
|
* Copyright (C) 2004 Maciej W. Rozycki
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
#ifndef __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H
|
#ifndef __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H
|
||||||
#define __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H
|
#define __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H
|
||||||
|
@ -6,20 +6,9 @@
|
|||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* modify it under the terms of the GNU General Public License
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
* as published by the Free Software Foundation; either version 2
|
* by the Free Software Foundation.
|
||||||
* 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.
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user