Home
last modified time | relevance | path

Searched full:bootpartition (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/mtd/parsers/
H A Dofpart_linksys_ns.c12 #define NVRAM_BOOT_PART "bootpartition"
17 int bootpartition; in ofpart_linksys_ns_bootpartition() local
21 if (!kstrtoint(buf, 0, &bootpartition)) in ofpart_linksys_ns_bootpartition()
22 return bootpartition; in ofpart_linksys_ns_bootpartition()
36 int bootpartition = ofpart_linksys_ns_bootpartition(); in linksys_ns_partitions_post_parse() local
42 if (trx_idx++ == bootpartition) in linksys_ns_partitions_post_parse()
H A Dbcm47xxpart.c75 int bootpartition; in bcm47xxpart_bootpartition() local
78 if (bcm47xx_nvram_getenv("bootpartition", buf, sizeof(buf)) > 0) { in bcm47xxpart_bootpartition()
79 if (!kstrtoint(buf, 0, &bootpartition)) in bcm47xxpart_bootpartition()
80 return bootpartition; in bcm47xxpart_bootpartition()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dobmc-flash-bmc579 bootPartition="mmcblk0boot0"
580 devUBoot="/dev/${bootPartition}"
583 echo 0 > "/sys/block/${bootPartition}/force_ro"
585 echo 1 > "/sys/block/${bootPartition}/force_ro"
652 bootPartition="mmcblk0boot0"
655 bootPartition="mmcblk0boot1"
659 devUBoot="/dev/${bootPartition}"
/openbmc/linux/Documentation/devicetree/bindings/mtd/partitions/
H A Dbrcm,bcm947xx-cfe-partitions.yaml33 CFE's environment variable "bootpartition" is used.