diff options
| author | Hal Feng <[email protected]> | 2025-10-24 16:59:26 +0800 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2026-03-17 01:36:57 +0800 |
| commit | 6015c98be50f2fc571c294d2f2b0768212fb7e99 (patch) | |
| tree | 67242f034850be6270c26f3fe169e928e2a609d7 /doc/develop | |
| parent | 841856ed9675b26ec517fdd00b5cc0aef8db508e (diff) | |
eeprom: starfive: Simplify get_ddr_size_from_eeprom()
Directly return the DDR size instead of the field of 'DxxxExxx'.
Move the function description to the header file.
Return 0 instead of 0xFF if read_eeprom() fails.
Reviewed-by: Heinrich Schuchardt <[email protected]>
Fixes: aea1bd95b61e ("eeprom: starfive: Enable ID EEPROM configuration")
Signed-off-by: Hal Feng <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
