| /u-boot/drivers/thermal/ |
| A D | imx_thermal.c | 44 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 …]
|
| A D | imx_tmu.c | 325 struct fuse_bank3_regs *fuse = in imx_tmu_mx8mm_mx8mn_init() local 333 tca_rt = fuse->ana0 & 0xFF; in imx_tmu_mx8mm_mx8mn_init() 334 tca_hr = (fuse->ana0 & 0xFF00) >> 8; in imx_tmu_mx8mm_mx8mn_init() 335 tca_en = (fuse->ana0 & 0x2000000) >> 25; in imx_tmu_mx8mm_mx8mn_init() 337 buf_vref = (fuse->ana0 & 0x1F00000) >> 20; in imx_tmu_mx8mm_mx8mn_init() 338 buf_slope = (fuse->ana0 & 0xF0000) >> 16; in imx_tmu_mx8mm_mx8mn_init() 354 struct fuse_bank38_regs *fuse = in imx_tmu_mx8mp_init() local 366 if (!fuse->ana_trim2 && !fuse->ana_trim3 && in imx_tmu_mx8mp_init() 376 buf_vref = (fuse->ana_trim2 & 0xc0) >> 6; in imx_tmu_mx8mp_init() 379 bgr = (fuse->ana_trim2 & 0xF0000) >> 16; in imx_tmu_mx8mp_init() [all …]
|
| /u-boot/doc/ |
| A D | README.fuse | 8 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 D | README.fsl_iim | 1 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 D | README.mxc_ocotp | 1 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 D | README.armada-secureboot | 301 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 D | README.vf610 | 9 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 D | cvmx-fuse.h | 49 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 D | mac.c | 28 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 D | cpu.c | 369 struct fuse_bank1_regs *fuse = in get_cpu_speed_grade_hz() local 373 val = readl(&fuse->tester3); in get_cpu_speed_grade_hz() 415 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local 419 val = readl(&fuse->tester3); in get_cpu_temp_grade() 500 struct fuse_bank4_regs *fuse = in nxp_board_rev() local 503 return (readl(&fuse->gp1) >> 8 & 0x0F); in nxp_board_rev()
|
| /u-boot/arch/arm/mach-tegra/tegra20/ |
| A D | warmboot.c | 197 static int is_production_mode_fuse_set(struct fuse_regs *fuse) in is_production_mode_fuse_set() argument 199 return readl(&fuse->production_mode); in is_production_mode_fuse_set() 204 return readl(&fuse->security_mode); in is_odm_production_mode_fuse_set() 207 static int is_failure_analysis_mode(struct fuse_regs *fuse) in is_failure_analysis_mode() argument 209 return readl(&fuse->fa); in is_failure_analysis_mode() 214 struct fuse_regs *fuse = (struct fuse_regs *)NV_PA_FUSE_BASE; in ap20_is_odm_production_mode() local 216 if (!is_failure_analysis_mode(fuse) && in ap20_is_odm_production_mode() 217 is_odm_production_mode_fuse_set(fuse)) in ap20_is_odm_production_mode() 230 if (!is_failure_analysis_mode(fuse) && in ap20_is_production_mode() 231 is_production_mode_fuse_set(fuse) && in ap20_is_production_mode() [all …]
|
| /u-boot/arch/arm/mach-omap2/ |
| A D | abb.c | 18 __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-omap2/omap5/ |
| A D | abb.c | 28 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 D | imx5.txt | 27 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 D | imx6.txt | 9 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
|
| /u-boot/doc/imx/habv4/guides/ |
| A D | mx6_mx7_secure_boot.txt | 162 => 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 275 => fuse prog 0 0 0x4000 279 => fuse prog 0 6 0x8 283 => fuse prog 0 6 0x100000 [all …]
|
| /u-boot/arch/arm/mach-imx/mx6/ |
| A D | soc.c | 137 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 371 val = readl(&fuse->mem0); in init_bandgap() 728 struct fuse_bank0_regs *fuse = in setup_serial_number() local 735 fuse->uid_low, fuse->uid_high); in setup_serial_number()
|
| A D | opos6ul.c | 178 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/mx7/ |
| A D | soc.c | 141 struct fuse_bank1_regs *fuse = in is_mx7d() local 145 val = readl(&fuse->tester4); in is_mx7d() 402 struct fuse_bank0_regs *fuse = in get_board_serial() local 405 serialnr->low = fuse->tester0; in get_board_serial() 406 serialnr->high = fuse->tester1; in get_board_serial()
|
| /u-boot/arch/arm/mach-imx/mx7ulp/ |
| A D | soc.c | 419 struct fuse_bank1_regs *fuse = in get_board_serial() local 422 serialnr->low = (fuse->cfg0 & 0xFFFF) + ((fuse->cfg1 & 0xFFFF) << 16); in get_board_serial() 423 serialnr->high = (fuse->cfg2 & 0xFFFF) + ((fuse->cfg3 & 0xFFFF) << 16); in get_board_serial()
|
| /u-boot/board/phytec/pcm052/ |
| A D | pcm052.c | 321 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/arch/arm/mach-imx/mx5/ |
| A D | soc.c | 81 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/drivers/misc/imx8/ |
| A D | Makefile | 4 obj-$(CONFIG_CMD_FUSE) += fuse.o
|
| /u-boot/drivers/misc/sentinel/ |
| A D | Makefile | 4 obj-$(CONFIG_CMD_FUSE) += fuse.o
|
| /u-boot/arch/arm/mach-tegra/ |
| A D | ap.c | 43 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()
|