/u-boot/drivers/mtd/ |
A D | mtd_uboot.c | 129 const char *mtdparts = NULL; in get_mtdparts() local 134 mtdparts = tmp_parts; in get_mtdparts() 136 if (mtdparts) in get_mtdparts() 137 return mtdparts; in get_mtdparts() 142 mtdparts = MTDPARTS_DEFAULT; in get_mtdparts() 147 if (mtdparts) in get_mtdparts() 150 return mtdparts; in get_mtdparts() 245 if (!mtdparts || !mtdids) in mtd_probe_devices() 250 mtdparts += 9; in mtd_probe_devices() 253 for (; mtdparts[0] != '\0'; mtdparts = mtdparts_next) { in mtd_probe_devices() [all …]
|
A D | mtdpart.c | 109 mtdparts++; in mtd_parse_partition() 111 partition->size = ustrtoull(mtdparts, (char **)&mtdparts, 0); in mtd_parse_partition() 122 mtdparts++; in mtd_parse_partition() 123 partition->offset = ustrtoull(mtdparts, (char **)&mtdparts, 0); in mtd_parse_partition() 128 name = ++mtdparts; in mtd_parse_partition() 130 if (!mtdparts) { in mtd_parse_partition() 139 mtdparts++; in mtd_parse_partition() 148 mtdparts += 2; in mtd_parse_partition() 157 ++mtdparts; in mtd_parse_partition() 158 } else if ((*mtdparts == ';') || (*mtdparts == '\0')) { in mtd_parse_partition() [all …]
|
/u-boot/board/st/common/ |
A D | stm32mp_mtdparts.c | 32 char *mtdparts, in board_set_mtdparts() argument 45 if (mtdparts[0] != '\0') in board_set_mtdparts() 46 strncat(mtdparts, ";", MTDPARTS_LEN); in board_set_mtdparts() 48 strcat(mtdparts, "mtdparts="); in board_set_mtdparts() 50 strncat(mtdparts, dev, MTDPARTS_LEN); in board_set_mtdparts() 51 strncat(mtdparts, ":", MTDPARTS_LEN); in board_set_mtdparts() 55 strncat(mtdparts, ",", MTDPARTS_LEN); in board_set_mtdparts() 59 strncat(mtdparts, tee, MTDPARTS_LEN); in board_set_mtdparts() 60 strncat(mtdparts, ",", MTDPARTS_LEN); in board_set_mtdparts() 77 *mtdparts = parts; in board_mtdparts_default() [all …]
|
/u-boot/board/emulation/common/ |
A D | qemu_mtdparts.c | 16 char *mtdids, char *mtdparts) in board_get_mtdparts() argument 26 if (mtdparts[0] != '\0') in board_get_mtdparts() 27 strncat(mtdparts, ";", MTDPARTS_LEN); in board_get_mtdparts() 29 strcat(mtdparts, "mtdparts="); in board_get_mtdparts() 31 strncat(mtdparts, dev, MTDPARTS_LEN); in board_get_mtdparts() 32 strncat(mtdparts, ":", MTDPARTS_LEN); in board_get_mtdparts() 33 strncat(mtdparts, partition, MTDPARTS_LEN); in board_get_mtdparts() 36 void board_mtdparts_default(const char **mtdids, const char **mtdparts) in board_mtdparts_default() argument 47 *mtdparts = parts; in board_mtdparts_default() 80 *mtdparts = parts; in board_mtdparts_default()
|
/u-boot/configs/ |
A D | usb_a9263_dataflash_defconfig | 16 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/mtdblock1 mtdparts=mtdparts=atmel_nand:16m(kernel)r… 29 CONFIG_MTDPARTS_DEFAULT="mtdparts=atmel_nand:16m(kernel)ro,120m(root1),-(root2)"
|
A D | smdkc100_defconfig | 12 …tdblock5 ubi.mtd=4 rootfstype=cramfs console=ttySAC0,115200n8 mem=128M mtdparts=s3c-onenand:256k(… 23 CONFIG_MTDPARTS_DEFAULT="mtdparts=s3c-onenand:256k(bootloader),128k@0x40000(params),3m@0x60000(kern…
|
A D | ls1043aqds_qspi_defconfig | 21 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=spi0… 35 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)"
|
A D | ls1046afrwy_tfa_SECURE_BOOT_defconfig | 17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 27 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:16…
|
A D | apf27_defconfig | 16 CONFIG_BOOTARGS="console=ttySMX0,115200 mtdparts=mxc_nand.0:1M(u-boot)ro,512K(env),512K(env2),512K(… 42 CONFIG_MTDPARTS_DEFAULT="mtdparts=mxc_nand.0:1M(u-boot)ro,512K(env),512K(env2),512K(firmware),512K(…
|
A D | ethernut5_defconfig | 16 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/mtdblock0 mtdparts=atmel_nand:-(root) rw rootfstype… 47 CONFIG_MTDPARTS_DEFAULT="mtdparts=atmel_nand:-(root)"
|
A D | ls1046aqds_qspi_defconfig | 20 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 35 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi-0:2m(uboot),14m(free)"
|
A D | ls1046ardb_qspi_SECURE_BOOT_defconfig | 18 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 30 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi-0:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:…
|
A D | ls1046ardb_tfa_SECURE_BOOT_defconfig | 19 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 31 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi-0:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:…
|
A D | ls1046afrwy_tfa_defconfig | 20 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 30 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:16…
|
A D | ls1046ardb_qspi_defconfig | 19 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 31 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi-0:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:…
|
A D | ls1046ardb_tfa_defconfig | 20 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 32 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi-0:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:…
|
A D | ls1043aqds_sdcard_qspi_defconfig | 27 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=spi0… 48 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)"
|
A D | ls1046aqds_SECURE_BOOT_defconfig | 18 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=6000… 35 CONFIG_MTDPARTS_DEFAULT="mtdparts=60000000.nor:2m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0…
|
A D | ls1043ardb_SECURE_BOOT_defconfig | 15 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=6000… 27 CONFIG_MTDPARTS_DEFAULT="mtdparts=60000000.nor:2m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0…
|
A D | ls1043ardb_defconfig | 15 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=6000… 27 CONFIG_MTDPARTS_DEFAULT="mtdparts=60000000.nor:2m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0…
|
A D | ls1043ardb_tfa_SECURE_BOOT_defconfig | 17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=6000… 29 CONFIG_MTDPARTS_DEFAULT="mtdparts=60000000.nor:2m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0…
|
A D | ls1043ardb_tfa_defconfig | 18 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=6000… 30 CONFIG_MTDPARTS_DEFAULT="mtdparts=60000000.nor:2m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0…
|
A D | ls1046aqds_sdcard_qspi_defconfig | 27 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 50 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi-0:2m(uboot),14m(free)"
|
A D | ls1046ardb_sdcard_SECURE_BOOT_defconfig | 24 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550… 45 CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.spi-0:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:…
|
/u-boot/include/ |
A D | mtd.h | 14 void board_mtdparts_default(const char **mtdids, const char **mtdparts);
|