Searched full:bootpartition (Results 1 – 4 of 4) sorted by relevance
12 #define NVRAM_BOOT_PART "bootpartition"17 int bootpartition; in ofpart_linksys_ns_bootpartition() local21 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() local42 if (trx_idx++ == bootpartition) in linksys_ns_partitions_post_parse()
75 int bootpartition; in bcm47xxpart_bootpartition() local78 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()
579 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}"
33 CFE's environment variable "bootpartition" is used.