Home
last modified time | relevance | path

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

123

/u-boot/drivers/thermal/
A Dimx_thermal.c44 unsigned int fuse; member
58 u32 fuse = priv->fuse; in read_cpu_temperature() local
70 n1 = fuse >> 20; in read_cpu_temperature()
144 u32 fuse = *priv; in read_cpu_temperature() local
155 raw_25c = fuse >> 21; in read_cpu_temperature()
159 te1 = (fuse >> 9) & 0x1ff; in read_cpu_temperature()
238 unsigned int fuse = ~0; in imx_thermal_probe() local
248 if (fuse == 0 || fuse == ~0) { in imx_thermal_probe()
250 fuse); in imx_thermal_probe()
255 if ((fuse & 0x3ffff) == 0) in imx_thermal_probe()
[all …]
/u-boot/doc/
A DREADME.fuse8 fuse that has not been programmed reads 0.
16 A fuse bank is the smallest group of fuse words having a common ID, as defined
28 fuse read <bank> <word> [<cnt>]
29 Read fuse words from the shadow cache.
32 fuse sense <bank> <word> [<cnt>]
40 fuse prog [-y] <bank> <word> <hexval> [<hexval>...]
49 hardware programming operation on these fuse bits).
52 fuse override <bank> <word> <hexval> [<hexval>...]
53 Override fuse words in the shadow cache.
62 override a locked fuse).
[all …]
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
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
A DREADME.armada-secureboot301 the last fuse line written!)
302 * Lock the unused fuse lines
309 a whole. The fuse prog command itself allows lists of 32 bit words to be
315 (0-2): The first and second words are the values to be written to the fuse
322 locks the fuse line without setting any value; this is needed to lock the
323 unused fuse lines.
328 fuse prog -y 10 0 00112233 44556677 1
330 Here 10 is the fuse line number, 0 is the index of the first word to be
337 fuse prog -y 11 2 1
339 Here 11 is the fuse number, 2 is the index of the first word to be written
[all …]
A DREADME.vf6109 1.1 MAC Address: It is stored in fuse bank 4, with the 16 msbs in word 2 and the
/u-boot/arch/mips/mach-octeon/include/mach/
A Dcvmx-fuse.h49 static inline int cvmx_fuse_read_node(u8 node, int fuse) in cvmx_fuse_read_node() argument
51 return (cvmx_fuse_read_byte_node(node, fuse >> 3) >> (fuse & 0x7)) & 1; in cvmx_fuse_read_node()
61 static inline int cvmx_fuse_read(int fuse) in cvmx_fuse_read() argument
63 return cvmx_fuse_read_node(0, fuse); in cvmx_fuse_read()
/u-boot/arch/arm/mach-imx/
A Dmac.c28 struct imx_mac_fuse *fuse; in imx_get_mac_from_fuse() local
33 fuse = (struct imx_mac_fuse *)(ulong)(OCOTP_BASE_ADDR + offset); in imx_get_mac_from_fuse()
37 u32 value = readl(&fuse->mac_addr2); in imx_get_mac_from_fuse()
44 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
49 u32 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
54 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
A Dcpu.c365 struct fuse_bank1_regs *fuse = in get_cpu_speed_grade_hz() local
369 val = readl(&fuse->tester3); in get_cpu_speed_grade_hz()
411 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local
415 val = readl(&fuse->tester3); in get_cpu_temp_grade()
496 struct fuse_bank4_regs *fuse = in nxp_board_rev() local
499 return (readl(&fuse->gp1) >> 8 & 0x0F); in nxp_board_rev()
/u-boot/arch/arm/mach-tegra/tegra20/
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()
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()
234 if (!is_failure_analysis_mode(fuse) && in ap20_is_production_mode()
235 is_production_mode_fuse_set(fuse) && in ap20_is_production_mode()
[all …]
/u-boot/arch/arm/mach-omap2/
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()
/u-boot/arch/arm/mach-imx/imx8m/
A Dsoc.c296 struct fuse_bank1_regs *fuse = in get_cpu_variant_type() local
299 u32 value = readl(&fuse->tester4); in get_cpu_variant_type()
342 u32 value0 = readl(&fuse->tester3); in get_cpu_variant_type()
602 struct fuse_bank1_regs *fuse = in check_dcss_fused() local
604 u32 value = readl(&fuse->tester4); in check_dcss_fused()
974 struct fuse_bank3_regs *fuse = in imx_tmu_arch_init() local
980 tca_rt = fuse->ana0 & 0xFF; in imx_tmu_arch_init()
981 tca_hr = (fuse->ana0 & 0xFF00) >> 8; in imx_tmu_arch_init()
995 struct fuse_bank38_regs *fuse = in imx_tmu_arch_init() local
1005 if (!fuse->ana_trim2 && !fuse->ana_trim3 && in imx_tmu_arch_init()
[all …]
/u-boot/arch/arm/mach-omap2/omap5/
A Dabb.c28 s8 abb_setup_ldovbb(u32 fuse, u32 ldovbb) in abb_setup_ldovbb() argument
43 vset = readl(fuse); in abb_setup_ldovbb()
/u-boot/doc/imx/common/
A Dimx5.txt27 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
A Dimx6.txt9 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
A Dimx25.txt9 1.1 MAC Address: It is stored in the words 26 to 31 of fuse bank 0, using the
A Dimx27.txt9 1.1 MAC Address: It is stored in the words 4 to 9 of fuse bank 0, using the
/u-boot/doc/imx/habv4/guides/
A Dmx6_mx7_secure_boot.txt162 => fuse prog 3 0 0x20593752
163 => fuse prog 3 1 0x6ACE6962
164 => fuse prog 3 2 0x26E0D06C
165 => fuse prog 3 3 0xFC600661
166 => fuse prog 3 4 0x1240E88F
167 => fuse prog 3 5 0x1209F144
168 => fuse prog 3 6 0x831C8117
251 => fuse prog 0 0 0x4000
255 => fuse prog 0 6 0x8
259 => fuse prog 0 6 0x100000
[all …]
/u-boot/arch/arm/mach-imx/mx7/
A Dsoc.c139 struct fuse_bank1_regs *fuse = in is_mx7d() local
143 val = readl(&fuse->tester4); in is_mx7d()
380 struct fuse_bank0_regs *fuse = in get_board_serial() local
383 serialnr->low = fuse->tester0; in get_board_serial()
384 serialnr->high = fuse->tester1; in get_board_serial()
/u-boot/arch/arm/mach-imx/mx6/
A Dsoc.c137 struct fuse_bank0_regs *fuse = in get_cpu_speed_grade_hz() local
141 val = readl(&fuse->cfg3); in get_cpu_speed_grade_hz()
196 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local
200 val = readl(&fuse->mem0); in get_cpu_temp_grade()
341 struct fuse_bank1_regs *fuse = in init_bandgap() local
369 val = readl(&fuse->mem0); in init_bandgap()
724 struct fuse_bank0_regs *fuse = in setup_serial_number() local
731 fuse->uid_low, fuse->uid_high); in setup_serial_number()
A Dopos6ul.c178 struct fuse_bank4_regs *fuse = in spl_dram_init() local
180 int reg = readl(&fuse->gp1); in spl_dram_init()
/u-boot/arch/arm/mach-imx/mx5/
A Dsoc.c81 struct fuse_bank1_regs *fuse = in imx_get_mac_from_fuse() local
85 mac[i] = readl(&fuse->mac_addr[i]) & 0xff; in imx_get_mac_from_fuse()
/u-boot/board/phytec/pcm052/
A Dpcm052.c321 struct fuse_bank4_regs *fuse = in imx_get_mac_from_fuse() local
332 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
337 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
344 value = readl(&fuse->mac_addr2); in imx_get_mac_from_fuse()
351 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
/u-boot/drivers/misc/imx8/
A DMakefile4 obj-$(CONFIG_CMD_FUSE) += fuse.o
/u-boot/arch/arm/mach-tegra/
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()

Completed in 39 milliseconds

123