]> git.ipfire.org Git - thirdparty/u-boot.git/commit
board: starfive: function to read eMMC size
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 12 May 2024 04:25:22 +0000 (06:25 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 14 May 2024 10:40:09 +0000 (18:40 +0800)
commit156c99fc33cc0694a6e148e0c6081ed52314a50e
tree8cacb243f1fba64e1535e128b16f3c579e70c1df
parent9578e74571596eb8f1a74b46cbb2ddf6ed5dee39
board: starfive: function to read eMMC size

The EEPROM provides information about the size of the eMMC.
Provide a new function get_mmc_size_from_eeprom() to read it.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: E. Shattow <lucent@gmail.com>
arch/riscv/include/asm/arch-jh7110/eeprom.h
board/starfive/visionfive2/Kconfig
board/starfive/visionfive2/visionfive2-i2c-eeprom.c