| /* SPDX-License-Identifier: GPL-2.0-only */ |
| * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. |
| #ifndef __SOC_TEGRA_FUSE_H__ |
| #define __SOC_TEGRA_FUSE_H__ |
| #define TEGRA_FUSE_SKU_CALIB_0 0xf0 |
| #define TEGRA30_FUSE_SATA_CALIB 0x124 |
| #define TEGRA_FUSE_USB_CALIB_EXT_0 0x250 |
| u32 tegra_read_chipid(void); |
| u8 tegra_get_chip_id(void); |
| TEGRA_REVISION_UNKNOWN = 0, |
| enum tegra_revision revision; |
| u32 tegra_read_straps(void); |
| u32 tegra_read_ram_code(void); |
| int tegra_fuse_readl(unsigned long offset, u32 *value); |
| extern struct tegra_sku_info tegra_sku_info; |
| struct device *tegra_soc_device_register(void); |
| #endif /* __ASSEMBLY__ */ |
| #endif /* __SOC_TEGRA_FUSE_H__ */ |