Commit 79a064c
Joel Slebodnick
mtd: spi-nor: core: Introduce method for RDID op
JIRA: https://issues.redhat.com/browse/RHEL-40636
commit 86b6b55
Author: Tudor Ambarus <tudor.ambarus@microchip.com>
Date: Wed Apr 20 13:34:20 2022 +0300
mtd: spi-nor: core: Introduce method for RDID op
RDID is used in the core to auto detect the flash, but also by some
manufacturer drivers that contain flashes that support Octal DTR mode,
so that they can read the flash ID after the switch to Octal DTR was made
to test if the switch was successful. Introduce a core method for RDID op
to avoid code duplication.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20220420103427.47867-5-tudor.ambarus@microchip.com
Signed-off-by: Joel Slebodnick <jslebodn@redhat.com>1 parent 8e4bdda commit 79a064c
2 files changed
+44
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
372 | 403 | | |
373 | 404 | | |
374 | 405 | | |
| |||
1868 | 1899 | | |
1869 | 1900 | | |
1870 | 1901 | | |
1871 | | - | |
| 1902 | + | |
1872 | 1903 | | |
1873 | 1904 | | |
1874 | 1905 | | |
1875 | 1906 | | |
1876 | 1907 | | |
1877 | | - | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
1883 | | - | |
1884 | | - | |
1885 | | - | |
1886 | | - | |
1887 | | - | |
1888 | | - | |
| 1908 | + | |
1889 | 1909 | | |
1890 | 1910 | | |
1891 | 1911 | | |
| |||
3038 | 3058 | | |
3039 | 3059 | | |
3040 | 3060 | | |
3041 | | - | |
| 3061 | + | |
3042 | 3062 | | |
3043 | 3063 | | |
3044 | 3064 | | |
| |||
3047 | 3067 | | |
3048 | 3068 | | |
3049 | 3069 | | |
3050 | | - | |
| 3070 | + | |
3051 | 3071 | | |
3052 | 3072 | | |
3053 | 3073 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
506 | 513 | | |
507 | 514 | | |
508 | 515 | | |
| 516 | + | |
| 517 | + | |
509 | 518 | | |
510 | 519 | | |
511 | 520 | | |
| |||
0 commit comments