cpu/allwinner: Update license headers
These licence headers were not compliant with the coreboot standard. Change-Id: I85bb5f971ab1f8ac3e9589f712370fbf09716b67 Signed-off-by: Damien Roth <yves.r.roth@gmail.com> Reviewed-on: https://review.coreboot.org/13287 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
85bb946362
commit
37a54b7f65
|
@ -1,9 +1,21 @@
|
||||||
/*
|
/*
|
||||||
* Allwinner A10 bootblock initialization
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Google Inc.
|
* Copyright (C) 2013 Google Inc.
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Allwinner A10 bootblock initialization
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* CBFS accessors for bootblock stage.
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* CBFS accessors for bootblock stage.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
#include <boot_device.h>
|
#include <boot_device.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Provides cbmem utilities for romstage and ramstage
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Provides cbmem utilities for romstage and ramstage
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ram_segs.h"
|
#include "ram_segs.h"
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Allwinnwer A10 devicetree config struct
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Allwinnwer A10 devicetree config struct
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
|
@ -1,8 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* Helpers for clock control and gating on Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Helpers for clock control and gating on Allwinner CPUs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "clock.h"
|
#include "clock.h"
|
||||||
|
|
|
@ -1,10 +1,21 @@
|
||||||
/*
|
/*
|
||||||
* Definitions for clock control and gating on Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2011 Allwinner Technology Co., Ltd.
|
* Copyright (C) 2007-2011 Allwinner Technology Co., Ltd.
|
||||||
* Tom Cubie <tangliang@allwinnertech.com>
|
* Tom Cubie <tangliang@allwinnertech.com>
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Definitions for clock control and gating on Allwinner CPUs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CPU_ALLWINNER_A10_CLOCK_H
|
#ifndef CPU_ALLWINNER_A10_CLOCK_H
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Ramstage initialization for Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2014 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Ramstage initialization for Allwinner CPUs
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
|
|
@ -1,14 +1,25 @@
|
||||||
/*
|
/*
|
||||||
* Allwinner A10 platform dram register definition.
|
* This file is part of the coreboot project.
|
||||||
*
|
|
||||||
* Based on sun4i Linux kernel sources mach-sunxi/pm/standby/dram*.c
|
|
||||||
* and earlier U-Boot Allwiner A10 SPL work
|
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2012 Allwinner Technology Co., Ltd.
|
* Copyright (C) 2007-2012 Allwinner Technology Co., Ltd.
|
||||||
* Berg Xing <bergxing@allwinnertech.com>
|
* Berg Xing <bergxing@allwinnertech.com>
|
||||||
* Tom Cubie <tangliang@allwinnertech.com>
|
* Tom Cubie <tangliang@allwinnertech.com>
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Allwinner A10 platform dram register definition.
|
||||||
|
*
|
||||||
|
* Based on sun4i Linux kernel sources mach-sunxi/pm/standby/dram*.c
|
||||||
|
* and earlier U-Boot Allwiner A10 SPL work
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CPU_ALLWINNER_A10_DRAMC_H
|
#ifndef CPU_ALLWINNER_A10_DRAMC_H
|
||||||
|
|
|
@ -1,8 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* Basic GPIO helpers for Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Basic GPIO helpers for Allwinner CPUs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gpio.h"
|
#include "gpio.h"
|
||||||
|
|
|
@ -1,8 +1,18 @@
|
||||||
/*
|
/*
|
||||||
* Definitions for GPIO and pin multiplexing on Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; version 2 of the License or (at your option)
|
||||||
|
* any later version.
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* Definitions for GPIO and pin multiplexing on Allwinner CPUs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CPU_ALLWINNER_A10_PINMUX_H
|
#ifndef __CPU_ALLWINNER_A10_PINMUX_H
|
||||||
|
|
|
@ -1,10 +1,21 @@
|
||||||
/*
|
/*
|
||||||
* Memory map definitions for Allwinner A10 CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2011 Allwinner Technology Co., Ltd.
|
* Copyright (C) 2007-2011 Allwinner Technology Co., Ltd.
|
||||||
* Tom Cubie <tangliang@allwinnertech.com>
|
* Tom Cubie <tangliang@allwinnertech.com>
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Memory map definitions for Allwinner A10 CPUs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CPU_ALLWINNER_A10_MEMMAP_H
|
#ifndef CPU_ALLWINNER_A10_MEMMAP_H
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Placeholder for code to come (needed to complete build)
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; version 2 of the Licenseor (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.
|
||||||
|
*
|
||||||
|
* Placeholder for code to come (needed to complete build)
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
|
|
@ -1,8 +1,21 @@
|
||||||
/*
|
/*
|
||||||
* Helpers to multiplex and configure pins on Allwinner SoCs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Helpers to multiplex and configure pins on Allwinner SoCs
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gpio.h"
|
#include "gpio.h"
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* How we use DRAM on Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2014 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* How we use DRAM on Allwinner CPUs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Allwinner A10 DRAM controller initialization
|
* This file is part of the coreboot project.
|
||||||
*
|
|
||||||
* Based on sun4i Linux kernel sources mach-sunxi/pm/standby/dram*.c
|
|
||||||
* and earlier U-Boot Allwiner A10 SPL work
|
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
* Copyright (C) 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
||||||
* Copyright (C) 2013 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
|
* Copyright (C) 2013 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
|
||||||
|
@ -10,7 +7,21 @@
|
||||||
* Berg Xing <bergxing@allwinnertech.com>
|
* Berg Xing <bergxing@allwinnertech.com>
|
||||||
* Tom Cubie <tangliang@allwinnertech.com>
|
* Tom Cubie <tangliang@allwinnertech.com>
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Allwinner A10 DRAM controller initialization
|
||||||
|
*
|
||||||
|
* Based on sun4i Linux kernel sources mach-sunxi/pm/standby/dram*.c
|
||||||
|
* and earlier U-Boot Allwiner A10 SPL work
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "clock.h"
|
#include "clock.h"
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Timer control and delays for Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Timer control and delays for Allwinner CPUs
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
|
@ -1,10 +1,21 @@
|
||||||
/*
|
/*
|
||||||
* Definitions for timer control on Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2011 Allwinner Technology Co., Ltd.
|
* Copyright (C) 2007-2011 Allwinner Technology Co., Ltd.
|
||||||
* Tom Cubie <tangliang@allwinnertech.com>
|
* Tom Cubie <tangliang@allwinnertech.com>
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Definitions for timer control on Allwinner CPUs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CPU_ALLWINNER_A10_TIMER_H
|
#ifndef CPU_ALLWINNER_A10_TIMER_H
|
||||||
|
|
|
@ -1,12 +1,23 @@
|
||||||
/*
|
/*
|
||||||
|
* This file is part of the coreboot project.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
||||||
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.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; 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.
|
||||||
|
*
|
||||||
* Setup helpers for Two Wire Interface (TWI) (I²C) Allwinner CPUs
|
* Setup helpers for Two Wire Interface (TWI) (I²C) Allwinner CPUs
|
||||||
*
|
*
|
||||||
* Only functionality for I²C master is provided.
|
* Only functionality for I²C master is provided.
|
||||||
* Largely based on the uboot-sunxi code.
|
* Largely based on the uboot-sunxi code.
|
||||||
*
|
|
||||||
* Copyright (C) 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "memmap.h"
|
#include "memmap.h"
|
||||||
|
|
|
@ -1,8 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* Definitions Two Wire Interface (TWI) (I²C) Allwinner CPUs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Definitions Two Wire Interface (TWI) (I²C) Allwinner CPUs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CPU_ALLWINNER_A10_TWI_H
|
#ifndef CPU_ALLWINNER_A10_TWI_H
|
||||||
|
|
|
@ -1,8 +1,21 @@
|
||||||
/*
|
/*
|
||||||
* Uart setup helpers for Allwinner SoCs
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; version 2 of the License (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.
|
||||||
|
*
|
||||||
|
* Uart setup helpers for Allwinner SoCs
|
||||||
|
*
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "uart.h"
|
#include "uart.h"
|
||||||
|
|
|
@ -1,4 +1,18 @@
|
||||||
/*
|
/*
|
||||||
|
* This file is part of the coreboot project.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.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; 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.
|
||||||
|
*
|
||||||
* Definitions for UART on Allwinner CPUs
|
* Definitions for UART on Allwinner CPUs
|
||||||
*
|
*
|
||||||
* The UART on the A10 seems to be 8250-compatible, however, this has not been
|
* The UART on the A10 seems to be 8250-compatible, however, this has not been
|
||||||
|
@ -6,8 +20,6 @@
|
||||||
* have to re-implement it ARM-style for the time being. The register
|
* have to re-implement it ARM-style for the time being. The register
|
||||||
* definitions are present in <uart7250.h>, and are not redefined here.
|
* definitions are present in <uart7250.h>, and are not redefined here.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CPU_ALLWINNER_A10_UART_H
|
#ifndef CPU_ALLWINNER_A10_UART_H
|
||||||
|
|
|
@ -1,9 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Glue to UART code to enable serial console
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright 2013 Google Inc.
|
* Copyright 2013 Google Inc.
|
||||||
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
* Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||||
* Subject to the GNU GPL v2, or (at your option) any later version.
|
*
|
||||||
|
* 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; 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.
|
||||||
|
*
|
||||||
|
* Glue to UART code to enable serial console
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
Loading…
Reference in New Issue