mirror of
https://github.com/torvalds/linux.git
synced 2024-12-07 19:41:31 +00:00
b861c275ea
The Tegra20 HW issue with accessing APBIO registers (such as fuse registers) directly from the CPU concurrently with APB DMA accesses has been fixed in Tegra30 and later chips. Access these registers directly from the CPU on Tegra30 and later, and apply the workaround only for Tegra20. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Chaitanya Bandi <bandik@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
23 lines
741 B
C
23 lines
741 B
C
/*
|
|
* Copyright (C) 2010 NVIDIA Corporation.
|
|
* Copyright (C) 2010 Google, Inc.
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
#ifndef __MACH_TEGRA_APBIO_H
|
|
#define __MACH_TEGRA_APBIO_H
|
|
|
|
void tegra_apb_io_init(void);
|
|
u32 tegra_apb_readl(unsigned long offset);
|
|
void tegra_apb_writel(u32 value, unsigned long offset);
|
|
#endif
|