Home
last modified time | relevance | path

Searched refs:fuse (Results 1 – 25 of 43) sorted by relevance

12

/rk3399_rockchip-uboot/drivers/thermal/
H A Dimx_thermal.c43 unsigned int fuse; member
57 u32 fuse = priv->fuse; in read_cpu_temperature() local
69 n1 = fuse >> 20; in read_cpu_temperature()
143 u32 fuse = *priv; in read_cpu_temperature() local
154 raw_25c = fuse >> 21; in read_cpu_temperature()
158 te1 = (fuse >> 9) & 0x1ff; in read_cpu_temperature()
237 unsigned int fuse = ~0; in imx_thermal_probe() local
243 fuse_read(pdata->fuse_bank, pdata->fuse_word, &fuse); in imx_thermal_probe()
247 if (fuse == 0 || fuse == ~0) { in imx_thermal_probe()
249 fuse); in imx_thermal_probe()
[all …]
/rk3399_rockchip-uboot/doc/
H A DREADME.fuse3 The fuse API allows to control a fusebox and how it is used by the upper
6 A fuse corresponds to a single non-volatile memory bit that can be programmed
8 fuse that has not been programmed reads 0.
13 A fuse word is the smallest group of fuses that can be read at once from the
16 A fuse bank is the smallest group of fuse words having a common ID, as defined
19 Upon startup, the fusebox control IP reads the fuse values and stores them to a
28 fuse read <bank> <word> [<cnt>]
29 Read fuse words from the shadow cache.
32 fuse sense <bank> <word> [<cnt>]
34 fuse words. This operation does not update the shadow cache.
[all …]
H A DREADME.fsl_iim1 Driver implementing the fuse API for Freescale's IC Identification Module (IIM)
14 A fuse word contains 8 fuse bit slots, as explained in 30.4.2.2.1.
16 A bank contains 256 fuse word slots, as shown by the memory map in 30.3.1.
18 Some fuse bit or word slots may not have the corresponding fuses actually
H A DREADME.mxc_ocotp1 Driver implementing the fuse API for Freescale's On-Chip OTP Controller (OCOTP)
16 A fuse word contains 32 fuse bit slots, as explained in 46.2.1.
18 A bank contains 8 fuse word slots, as explained in 46.2.1 and shown by the
21 Some fuse bit or word slots may not have the corresponding fuses actually
H A DREADME.imx527 2.1 MAC Address: It is stored in the words 9 to 14 of fuse bank 1, using the
34 => fuse prog -y 1 9 01 23 45 67 89 ab
37 done by programming the MAC_ADDR_LOCK fuse, which is bit 4 of word 0 in
40 => fuse prog -y 1 0 10
H A DREADME.imx69 1.1 MAC Address: It is stored in fuse bank 4, with the 32 lsbs in word 2 and the
12 is stored in fuse bank 4, with the 16 lsb in word 3[31:16] and the 32 msbs in
19 - The MAC address is stored in two fuse addresses (the fuse addresses are
25 In order to use the fuse API, we need to pass the bank and word values, which
42 => fuse read 4 2
63 => fuse read 4 3
84 - The command '=> fuse read 4 2 2' reads the whole MAC addresses at once:
86 => fuse read 4 2 2
H A DREADME.armada-secureboot229 SEC_FUSE_DUMP - Dump the "fuse prog" commands necessary for writing the
293 have to be crafted by hand. The needed fuse lines can be looked up in [1]; a
300 * Enable trusted boot by burning the corresponding fuse (WARNING: this must be
301 the last fuse line written!)
302 * Lock the unused fuse lines
304 The command to employ is the "fuse prog" command previously enabled by setting
307 For the trusted boot, the fuse prog command has a special syntax, since the
308 ARMADA SoC demands that whole fuse lines (64 bit values) have to be written as
309 a whole. The fuse prog command itself allows lists of 32 bit words to be
311 operations to the fuse line, where the individual 32 bit words are identified
[all …]
H A DREADME.vf6109 1.1 MAC Address: It is stored in fuse bank 4, with the 16 msbs in word 2 and the
H A DREADME.imx259 1.1 MAC Address: It is stored in the words 26 to 31 of fuse bank 0, using the
H A DREADME.imx279 1.1 MAC Address: It is stored in the words 4 to 9 of fuse bank 0, using the
/rk3399_rockchip-uboot/arch/arm/mach-imx/mx7/
H A Dsoc.c114 struct fuse_bank1_regs *fuse = in get_cpu_speed_grade_hz() local
118 val = readl(&fuse->tester3); in get_cpu_speed_grade_hz()
145 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local
149 val = readl(&fuse->tester3); in get_cpu_temp_grade()
175 struct fuse_bank1_regs *fuse = in is_mx7d() local
179 val = readl(&fuse->tester4); in is_mx7d()
274 struct fuse_bank0_regs *fuse = in get_board_serial() local
277 serialnr->low = fuse->tester0; in get_board_serial()
278 serialnr->high = fuse->tester1; in get_board_serial()
287 struct fuse_bank9_regs *fuse = in imx_get_mac_from_fuse() local
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-tegra/tegra20/
H A Dwarmboot.c201 static int is_production_mode_fuse_set(struct fuse_regs *fuse) in is_production_mode_fuse_set() argument
203 return readl(&fuse->production_mode); in is_production_mode_fuse_set()
206 static int is_odm_production_mode_fuse_set(struct fuse_regs *fuse) in is_odm_production_mode_fuse_set() argument
208 return readl(&fuse->security_mode); in is_odm_production_mode_fuse_set()
211 static int is_failure_analysis_mode(struct fuse_regs *fuse) in is_failure_analysis_mode() argument
213 return readl(&fuse->fa); in is_failure_analysis_mode()
218 struct fuse_regs *fuse = (struct fuse_regs *)NV_PA_FUSE_BASE; in ap20_is_odm_production_mode() local
220 if (!is_failure_analysis_mode(fuse) && in ap20_is_odm_production_mode()
221 is_odm_production_mode_fuse_set(fuse)) in ap20_is_odm_production_mode()
229 struct fuse_regs *fuse = (struct fuse_regs *)NV_PA_FUSE_BASE; in ap20_is_production_mode() local
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-omap2/
H A Dabb.c18 __weak s8 abb_setup_ldovbb(u32 fuse, u32 ldovbb) in abb_setup_ldovbb() argument
59 void abb_setup(u32 fuse, u32 ldovbb, u32 setup, u32 control, in abb_setup() argument
94 if (fuse && ldovbb) { in abb_setup()
95 if (abb_setup_ldovbb(fuse, ldovbb)) in abb_setup()
/rk3399_rockchip-uboot/arch/arm/mach-imx/mx6/
H A Dsoc.c127 struct fuse_bank0_regs *fuse = in get_cpu_speed_grade_hz() local
131 val = readl(&fuse->cfg3); in get_cpu_speed_grade_hz()
186 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local
190 val = readl(&fuse->mem0); in get_cpu_temp_grade()
331 struct fuse_bank1_regs *fuse = in init_bandgap() local
359 val = readl(&fuse->mem0); in init_bandgap()
525 struct fuse_bank4_regs *fuse = in imx_get_mac_from_fuse() local
529 u32 value = readl(&fuse->mac_addr2); in imx_get_mac_from_fuse()
535 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
540 u32 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
[all …]
H A Dopos6ul.c268 struct fuse_bank4_regs *fuse = in spl_dram_init() local
270 int reg = readl(&fuse->gp1); in spl_dram_init()
/rk3399_rockchip-uboot/arch/arm/mach-omap2/omap5/
H A Dabb.c28 s8 abb_setup_ldovbb(u32 fuse, u32 ldovbb) in abb_setup_ldovbb() argument
43 vset = readl(fuse); in abb_setup_ldovbb()
/rk3399_rockchip-uboot/arch/arm/mach-imx/mx5/
H A Dsoc.c80 struct fuse_bank1_regs *fuse = in imx_get_mac_from_fuse() local
84 mac[i] = readl(&fuse->mac_addr[i]) & 0xff; in imx_get_mac_from_fuse()
/rk3399_rockchip-uboot/arch/arm/mach-tegra/
H A Dap.c43 struct fuse_regs *fuse = (struct fuse_regs *)NV_PA_FUSE_BASE; in tegra_get_sku_info() local
45 sku_id = readl(&fuse->sku_info) & 0xff; in tegra_get_sku_info()
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/vf610/
H A Dgeneric.c260 struct fuse_bank4_regs *fuse = in imx_get_mac_from_fuse() local
263 u32 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
267 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
/rk3399_rockchip-uboot/arch/arm/mach-imx/
H A Dhab.c399 struct imx_sec_config_fuse_t *fuse = in is_hab_enabled() local
404 ret = fuse_read(fuse->bank, fuse->word, &reg); in is_hab_enabled()
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c272 struct fuse_bank0_regs *fuse = in imx_get_mac_from_fuse() local
276 mac[i] = readl(&fuse->mac_addr[i]) & 0xff; in imx_get_mac_from_fuse()
/rk3399_rockchip-uboot/board/toradex/colibri_imx6/
H A DKconfig39 If executed on already fused modules it doesn't change any fuse setting.
H A Dpf0100_otp.inc67 {pmic_i2c, 0xF0, 0x1F}, // Enable ECC for fuse banks 1 to 5 by writing to OTP EN ECC0 register
68 {pmic_i2c, 0xF1, 0x1F}, // Enable ECC for fuse banks 6 to 10 by writing to OTP EN ECC1 register
70 {pmic_i2c, 0xD0, 0x1F}, // Set Auto ECC for fuse banks 1 to 5 by writing to OTP AUTO ECC0 register
71 {pmic_i2c, 0xD1, 0x1F}, // Set Auto ECC for fuse banks 6 to 10 by writing to OTP AUTO ECC1 register
/rk3399_rockchip-uboot/board/beckhoff/mx53cx9020/
H A Dmx53cx9020.c104 struct fuse_bank0_regs *fuse = in get_board_rev() local
107 int rev = readl(&fuse->gp[6]); in get_board_rev()
/rk3399_rockchip-uboot/board/toradex/apalis_imx6/
H A DKconfig39 If executed on already fused modules it doesn't change any fuse setting.

12