From e1a5c912f08e82345f697c0b57eb34f7051dbd87 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 30 Sep 2011 15:30:00 -0700 Subject: tegra: Make flow.h common The flow controller exists in both T20 and T30, so move it into the tegra-common directory. BUG=chromium-os:19004 TEST=build and boot on seaboard Change-Id: If6b7fea7dc3969139dfeadcf856b8d43d7eb875a Reviewed-on: http://gerrit.chromium.org/gerrit/8642 Reviewed-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-tegra/flow.h | 36 +++++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-tegra2/flow.h | 36 --------------------------------- 2 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 arch/arm/include/asm/arch-tegra/flow.h delete mode 100644 arch/arm/include/asm/arch-tegra2/flow.h (limited to 'arch/arm/include') diff --git a/arch/arm/include/asm/arch-tegra/flow.h b/arch/arm/include/asm/arch-tegra/flow.h new file mode 100644 index 0000000000..cce6cbf7d0 --- /dev/null +++ b/arch/arm/include/asm/arch-tegra/flow.h @@ -0,0 +1,36 @@ +/* + * (C) Copyright 2010, 2011 + * NVIDIA Corporation + * + * 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 + */ + +#ifndef _FLOW_H_ +#define _FLOW_H_ + +struct flow_ctlr { + u32 halt_cpu_events; + u32 halt_cop_events; + u32 cpu_csr; + u32 cop_csr; + u32 halt_cpu1_events; + u32 cpu1_csr; +}; + +#endif diff --git a/arch/arm/include/asm/arch-tegra2/flow.h b/arch/arm/include/asm/arch-tegra2/flow.h deleted file mode 100644 index cce6cbf7d0..0000000000 --- a/arch/arm/include/asm/arch-tegra2/flow.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * (C) Copyright 2010, 2011 - * NVIDIA Corporation - * - * 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 - */ - -#ifndef _FLOW_H_ -#define _FLOW_H_ - -struct flow_ctlr { - u32 halt_cpu_events; - u32 halt_cop_events; - u32 cpu_csr; - u32 cop_csr; - u32 halt_cpu1_events; - u32 cpu1_csr; -}; - -#endif -- cgit v1.2.3