summaryrefslogtreecommitdiff
path: root/board/starfive/visionfive2/visionfive2-i2c-eeprom.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2024-04-16 08:55:19 +0200
committerTom Rini <trini@konsulko.com>2024-04-22 11:01:48 -0600
commit81f3a665ab2a63a31ec7a4d760b0ce8130f62a1d (patch)
treeea17474c16b46c0710b48b1cf875bc608e9c7f9d /board/starfive/visionfive2/visionfive2-i2c-eeprom.c
parent5a6cf7c5d54769d2500e796702f6d210907ea7e4 (diff)
downloadu-boot-81f3a665ab2a63a31ec7a4d760b0ce8130f62a1d.tar.gz
u-boot-81f3a665ab2a63a31ec7a4d760b0ce8130f62a1d.tar.bz2
u-boot-81f3a665ab2a63a31ec7a4d760b0ce8130f62a1d.zip
common: Convert *.c/h from UTF-8 to ASCII enconfing
Convert UTF-8 chars to ASCII in cases where make sense. No Copyright or names are converted. Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Marek Behún <kabel@kernel.org>
Diffstat (limited to 'board/starfive/visionfive2/visionfive2-i2c-eeprom.c')
-rw-r--r--board/starfive/visionfive2/visionfive2-i2c-eeprom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/starfive/visionfive2/visionfive2-i2c-eeprom.c b/board/starfive/visionfive2/visionfive2-i2c-eeprom.c
index ddef7d6123..5095a0e9fd 100644
--- a/board/starfive/visionfive2/visionfive2-i2c-eeprom.c
+++ b/board/starfive/visionfive2/visionfive2-i2c-eeprom.c
@@ -503,7 +503,7 @@ int mac_read_from_eeprom(void)
* "<product>-<date>-<DDR&eMMC>-<serial_number>"
* <date>: 4Byte, should be the output of `date +%y%W`
* <DDR&eMMC>: 8Byte, "D008" means 8GB, "D01T" means 1TB;
- * "E000" means no eMMC,"E032" means 32GB, "E01T" means 1TB.
+ * "E000" means no eMMC, "E032" means 32GB, "E01T" means 1TB.
* <serial_number>: 8Byte, the Unique Identifier of board in hex.
*/
if (!env_get("serial#"))
@@ -533,7 +533,7 @@ u8 get_pcb_revision_from_eeprom(void)
* get_ddr_size_from_eeprom - get the DDR size
* pstr: VF7110A1-2228-D008E000-00000001
* VF7110A1/VF7110B1 : VisionFive JH7110A /VisionFive JH7110B
- * D008: 8GB LPDDR4
+ * D008: 8GB LPDDR4
* E000: No emmc device, ECxx: include emmc device, xx: Capacity size[GB]
* return: the field of 'D008E000'
*/