Home
last modified time | relevance | path

Searched refs:bootcount (Results 1 – 21 of 21) sorted by relevance

/openbmc/u-boot/include/
H A Dbootcount.h25 int (*get)(struct udevice *dev, u32 *bootcount);
35 int (*set)(struct udevice *dev, const u32 bootcount);
48 int dm_bootcount_get(struct udevice *dev, u32 *bootcount);
57 int dm_bootcount_set(struct udevice *dev, u32 bootcount);
96 unsigned long bootcount = bootcount_load(); in bootcount_error() local
99 if (bootlimit && bootcount > bootlimit) { in bootcount_error()
113 unsigned long bootcount = bootcount_load(); in bootcount_inc() local
116 bootcount_store(++bootcount); in bootcount_inc()
123 bootcount_store(++bootcount); in bootcount_inc()
125 env_set_ulong("bootcount", bootcount); in bootcount_inc()
/openbmc/u-boot/drivers/bootcount/
H A DKconfig22 Generic bootcount stored at SYS_BOOTCOUNT_ADDR.
25 Set to the address where the bootcount and bootcount magic
39 A bootcount driver for the RTC IP block found on many TI platforms.
47 "bootcount" is stored in the environment. To prevent a
50 0, "bootcount" is always 0, if "upgrade_available" is
51 1 "bootcount" is incremented in the environment.
53 and "bootcount" variable to 0, if a boot was successfully.
58 Store the bootcount in DRAM protected against against bit errors
76 Enables reading/writing the bootcount in a device-model based
77 backing store. If an entry in /chosen/u-boot,bootcount-device
[all …]
H A Dbootcount-uclass.c11 int dm_bootcount_get(struct udevice *dev, u32 *bootcount) in dm_bootcount_get() argument
18 return ops->get(dev, bootcount); in dm_bootcount_get()
21 int dm_bootcount_set(struct udevice *dev, const u32 bootcount) in dm_bootcount_set() argument
28 return ops->set(dev, bootcount); in dm_bootcount_set()
90 UCLASS_DRIVER(bootcount) = {
H A DMakefile3 obj-$(CONFIG_BOOTCOUNT_GENERIC) += bootcount.o
11 obj-$(CONFIG_DM_BOOTCOUNT) += bootcount-uclass.o
/openbmc/u-boot/board/BuR/brppt1/
H A Dboard.c167 ulong bootcount = 0; in board_late_init() local
170 bootcount = bootcount_load() & 0xF; in board_late_init()
174 if (rc != 0 || gpio_get_value(REPSWITCH) == 0 || bootcount == 12) in board_late_init()
176 else if (bootcount > 0) in board_late_init()
/openbmc/u-boot/doc/device-tree-bindings/
H A Dchosen.txt45 u-boot,bootcount-device property
48 In a DM-based system, the bootcount may be stored in a device known to
52 u-boot,bootcount-device property can select the preferred target.
58 u-boot,bootcount-device = &bootcount-rv3029;
61 bootcount-rv3029: bootcount@0 {
62 compatible = "u-boot,bootcount-rtc";
/openbmc/u-boot/board/theadorable/
H A Dtheadorable.c225 ulong bootcount; in board_late_init() local
239 bootcount = bootcount_load(); in board_late_init()
241 bootcount); in board_late_init()
242 if (bootcount > PEX_SWITCH_NOT_FOUNT_LIMIT) { in board_late_init()
/openbmc/u-boot/drivers/
H A DMakefile31 obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
79 obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
H A DKconfig15 source "drivers/bootcount/Kconfig"
/openbmc/u-boot/cmd/
H A Dbootcount.c56 U_BOOT_CMD(bootcount, 2, 1, do_bootcount,
H A DMakefile26 obj-$(CONFIG_CMD_BOOTCOUNT) += bootcount.o
H A DKconfig1384 bool "bootcount"
1387 Enable the bootcount command, which allows interrogation and
/openbmc/u-boot/arch/sandbox/dts/
H A Dtest.dts289 bootcount_i2c: bootcount@10 {
334 bootcount@0 {
335 compatible = "u-boot,bootcount-rtc";
340 bootcount {
341 compatible = "u-boot,bootcount-i2c-eeprom";
/openbmc/u-boot/arch/arm/dts/
H A Dbitmain-antminer-s9.dts32 bootcount@efffff0 {
/openbmc/qemu/system/
H A Dbootdevice.c104 static int bootcount; in restore_boot_order() local
106 switch (bootcount++) { in restore_boot_order()
/openbmc/u-boot/test/dm/
H A DMakefile19 obj-$(CONFIG_DM_BOOTCOUNT) += bootcount.o
/openbmc/u-boot/common/spl/
H A DKconfig85 bool "Support bootcount in SPL"
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok0.0.log2208 2024-12-28 20:09:06.377-0600 FINEST t1082 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/drivers/bootcount/bootcount_i2c.c.gz'
[all...]
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]