summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_variable.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2021-12-03 10:27:44 +0100
committerStefan Roese <sr@denx.de>2022-02-01 10:56:25 +0100
commit016e82d32200846ab52890efc79cb9f484950e7e (patch)
treebd0fe51f2970f9747a3b4988a7a3cd9b83195372 /lib/efi_loader/efi_variable.c
parentdf887a045a1d726bbd654ef266e5cbe8cc0c2db3 (diff)
mtd: cfi_mtd: populate mtd->dev with flash_info->dev
Populate mtd->dev with flash_info->dev which allows to get full mtd information using the "mtd list" command. Before, "mtd list" command returns : List of MTD devices: * nor0 - type: NOR flash - block size: 0x40000 bytes - min I/O: 0x1 bytes - 0x000000000000-0x000004000000 : "nor0" After this patch we get for example: List of MTD devices: * nor0 - device: flash@0 - parent: spi@40430000 - driver: cfi_flash - path: /soc/spi@40430000/flash@0 - type: NOR flash - block size: 0x40000 bytes - min I/O: 0x1 bytes - 0x000000000000-0x000004000000 : "nor0" Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib/efi_loader/efi_variable.c')
0 files changed, 0 insertions, 0 deletions