summaryrefslogtreecommitdiff
path: root/board
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
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')
-rw-r--r--board/CZ.NIC/turris_mox/turris_mox.c2
-rw-r--r--board/amlogic/vim3/vim3.c2
-rw-r--r--board/bosch/acc/acc.c2
-rw-r--r--board/bosch/shc/board.c2
-rw-r--r--board/bosch/shc/board.h2
-rw-r--r--board/congatec/cgtqmx8/cgtqmx8.c4
-rw-r--r--board/freescale/common/i2c_mux.c2
-rw-r--r--board/siemens/capricorn/board.c8
-rw-r--r--board/st/common/cmd_stboard.c2
-rw-r--r--board/starfive/visionfive2/visionfive2-i2c-eeprom.c4
10 files changed, 15 insertions, 15 deletions
diff --git a/board/CZ.NIC/turris_mox/turris_mox.c b/board/CZ.NIC/turris_mox/turris_mox.c
index 1a2f60e3d1..00114e6d91 100644
--- a/board/CZ.NIC/turris_mox/turris_mox.c
+++ b/board/CZ.NIC/turris_mox/turris_mox.c
@@ -395,7 +395,7 @@ static void load_spi_dtb(void)
return;
/*
- * SPI NOR "dtb" partition offset & size hardcoded for now because the
+ * SPI NOR "dtb" partition offset & size hardcoded for now because the
* mtd subsystem does not offer finding the partition yet and we do not
* want to reimplement OF partition parser here.
*/
diff --git a/board/amlogic/vim3/vim3.c b/board/amlogic/vim3/vim3.c
index 43d7a8e84f..a4850364f4 100644
--- a/board/amlogic/vim3/vim3.c
+++ b/board/amlogic/vim3/vim3.c
@@ -89,7 +89,7 @@ int meson_ft_board_setup(void *blob, struct bd_info *bd)
/*
* If in PCIe mode, alter DT
- * 0:Enable USB3.0,Disable PCIE, 1:Disable USB3.0, Enable PCIE
+ * 0: Enable USB3.0, Disable PCIE, 1: Disable USB3.0, Enable PCIE
*/
if (ret > 0) {
static char data[32] __aligned(4);
diff --git a/board/bosch/acc/acc.c b/board/bosch/acc/acc.c
index 34088adee4..65c2f35671 100644
--- a/board/bosch/acc/acc.c
+++ b/board/bosch/acc/acc.c
@@ -437,7 +437,7 @@ static const struct mx6_ddr3_cfg acc_mx6d_mem_ddr3_1066 = {
.trcd = 1313, // 13.125ns
.trcmin = 5063, // 50.625ns
.trasmin = 3750, // 37.5ns
- .SRT = 0, // Set to 1 for temperatures above 85°C
+ .SRT = 0, // Set to 1 for temperatures above 85 deg C
};
static const struct mx6_ddr_sysinfo acc_mx6d_ddr_info = {
diff --git a/board/bosch/shc/board.c b/board/bosch/shc/board.c
index 962a485acd..aebdfd4dfe 100644
--- a/board/bosch/shc/board.c
+++ b/board/bosch/shc/board.c
@@ -115,7 +115,7 @@ static void __maybe_unused force_modules_running(void)
gpio_direction_output(WIFI_REGEN_GPIO, 1);
/*
* Wait for Wi-Fi power regulator to reach a stable voltage
- * (soft-start time, max. 350 µs)
+ * (soft-start time, max. 350 us)
*/
__udelay(350);
diff --git a/board/bosch/shc/board.h b/board/bosch/shc/board.h
index 4cc02f93c6..a5e58186c9 100644
--- a/board/bosch/shc/board.h
+++ b/board/bosch/shc/board.h
@@ -154,7 +154,7 @@ static inline int board_is_series(void)
#define HDR_FATC_LEN 12
/*
-* SHC parameters held in On-Board I²C EEPROM device.
+* SHC parameters held in On-Board I2C EEPROM device.
*
* Header Format
*
diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c
index 3b01354bb6..d8e5b1d696 100644
--- a/board/congatec/cgtqmx8/cgtqmx8.c
+++ b/board/congatec/cgtqmx8/cgtqmx8.c
@@ -171,7 +171,7 @@ int board_mmc_init(struct bd_info *bis)
* (U-Boot device node) (Physical Port)
* mmc0 (onboard eMMC) USDHC1
* mmc1 (external SD card) USDHC2
- * mmc2 (onboard µSD) USDHC3
+ * mmc2 (onboard uSD) USDHC3
*/
for (i = 0; i < CFG_SYS_FSL_USDHC_NUM; i++) {
switch (i) {
@@ -196,7 +196,7 @@ int board_mmc_init(struct bd_info *bis)
gpio_direction_input(USDHC1_CD_GPIO);
break;
case 2:
- /* onboard µSD */
+ /* onboard uSD */
if (!imx8_power_domain_lookup_name("conn_sdhc2", &pd))
power_domain_on(&pd);
diff --git a/board/freescale/common/i2c_mux.c b/board/freescale/common/i2c_mux.c
index 54f89e2576..d40b34f103 100644
--- a/board/freescale/common/i2c_mux.c
+++ b/board/freescale/common/i2c_mux.c
@@ -12,7 +12,7 @@
/*
* A new Kconfig option for something that used to always be built should be
- * “default y”.
+ * "default y".
*/
#ifdef CONFIG_FSL_USE_PCA9547_MUX
diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c
index 0d66a75bbf..b1d7e3b1c0 100644
--- a/board/siemens/capricorn/board.c
+++ b/board/siemens/capricorn/board.c
@@ -156,14 +156,14 @@ int setup_gpr_fec(void)
* 0: internal clock
* 1: external clock ---> your choice for RMII
*
- * CLKDIV_SEL: it controls a div by 2 on the internal clock path à
- * it should be don’t care when using external clock
+ * CLKDIV_SEL: it controls a div by 2 on the internal clock path a
+ * it should be don't care when using external clock
* 0: non-divided clock
* 1: clock divided by 2
* 50_DISABLE or 125_DISABLE:
- * it’s used to disable the clock tree going outside the chip
+ * it's used to disable the clock tree going outside the chip
* when reference clock is generated internally.
- * It should be don’t care when reference clock is provided
+ * It should be don't care when reference clock is provided
* externally.
* 0: clock is enabled
* 1: clock is disabled
diff --git a/board/st/common/cmd_stboard.c b/board/st/common/cmd_stboard.c
index cb103e69b3..c8c0bad5da 100644
--- a/board/st/common/cmd_stboard.c
+++ b/board/st/common/cmd_stboard.c
@@ -9,7 +9,7 @@
* - "Commercial Product Name" (CPN): type of product board (DKX, EVX)
* associated to the board ID "MBxxxx"
* - "Finished Good" or "Finish Good" (FG):
- * effective content of the product without chip STM32MP1xx (LCD, Wifi,…)
+ * effective content of the product without chip STM32MP1xx (LCD, Wifi,...)
* - BOM: cost variant for same FG (for example, several provider of the same
* component)
*
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'
*/