]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: fsp: Replace e-mmc with emmc in devicetree bindings
authorWolfgang Wallner <wolfgang.wallner@br-automation.com>
Fri, 11 Sep 2020 14:52:28 +0000 (16:52 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 21 Sep 2020 08:41:35 +0000 (16:41 +0800)
The term eMMC is used inconsistently within the FSP devicetree
bindings (e-mmc and emmc), especially for "emmc-host-max-speed"
documentation and code disagree.

Change all eMMC instances within the FSP bindings to consistently
use "emmc". The term "emmc" is already used a lot within U-Boot,
while "e-mmc" is only used in the FSP bindings.

Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: correct one typo in the commit message]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/fsp_bindings.c
doc/device-tree-bindings/fsp/fsp2/apollolake/fsp-m.txt
doc/device-tree-bindings/fsp/fsp2/apollolake/fsp-s.txt

index bbf04b5009f11cb2f38ada59766ccff10707d90f..319c78b95a3badbfc50d3b3b252461280bc89fcf 100644 (file)
@@ -555,7 +555,7 @@ const struct fsp_binding fsp_m_bindings[] = {
        }, {
        .type = FSP_UINT8,
        .offset = offsetof(struct fsp_m_config, e_mmc_trace_len),
-       .propname = "fspm,e-mmc-trace-len",
+       .propname = "fspm,emmc-trace-len",
        }, {
        .type = FSP_UINT8,
        .offset = offsetof(struct fsp_m_config, skip_cse_rbp),
@@ -1465,11 +1465,11 @@ const struct fsp_binding fsp_s_bindings[] = {
        }, {
        .type = FSP_UINT8,
        .offset = offsetof(struct fsp_s_config, e_mmc_enabled),
-       .propname = "fsps,e-mmc-enabled",
+       .propname = "fsps,emmc-enabled",
        }, {
        .type = FSP_UINT8,
        .offset = offsetof(struct fsp_s_config, e_mmc_host_max_speed),
-       .propname = "fsps,e-mmc-host-max-speed",
+       .propname = "fsps,emmc-host-max-speed",
        }, {
        .type = FSP_UINT8,
        .offset = offsetof(struct fsp_s_config, ufs_enabled),
index 666400e0858c1b92921ec2f4ea0b937571128973..36936f2eb60e72ae007b2430d2f7addd6ffd7268 100644 (file)
@@ -174,7 +174,7 @@ Optional properties:
 - fspm,oem-loading-base: OEM File Loading Address
 - fspm,oem-file-name: OEM File Name to Load
 - fspm,mrc-boot-data-ptr:
-- fspm,e-mmc-trace-len: eMMC Trace Length
+- fspm,emmc-trace-len: eMMC Trace Length
   0x0: Long
   0x1: Short
 - fspm,skip-cse-rbp: Skip CSE RBP to support zero sized IBB
index 731a310cf8962e461c8a5e97dd2bcb2028937c1b..b605ed00565389743f16999c58f113340dd947b5 100644 (file)
@@ -318,7 +318,7 @@ Optional properties:
   0x6: warm reset (default)
   0xE: cold reset
 - fsps,sdcard-enabled: SD Card Support (D27:F0)
-- fsps,e-mmc-enabled: SeMMC Support (D28:F0)
+- fsps,emmc-enabled: SeMMC Support (D28:F0)
 - fsps,emmc-host-max-speed: eMMC Max Speed
   0: HS400(default)
   1: HS200