Files
u-boot/drivers
Patrice Chotard 016e82d322 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>
2022-02-01 10:56:25 +01:00
..
2022-01-19 18:11:34 +01:00
2022-01-28 17:58:41 -05:00
2022-01-25 11:44:36 -07:00
2021-09-25 09:46:15 -06:00
2022-01-19 18:11:34 +01:00
2021-10-05 08:50:15 -04:00
2022-01-30 01:25:00 +00:00
2022-01-13 07:57:49 -05:00
2022-01-19 18:11:34 +01:00
2021-10-31 08:46:44 -04:00
2022-01-13 07:57:49 -05:00
2022-01-25 11:44:36 -07:00
2022-01-13 07:57:49 -05:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2021-11-09 11:57:22 +09:00
2022-01-13 07:57:49 -05:00
2021-09-04 12:26:02 -04:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00