x86: baytrail: Remove "serial-debug-port-*" settings
authorBin Meng <bmeng.cn@gmail.com>
Wed, 31 May 2017 08:04:13 +0000 (01:04 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 5 Jun 2017 00:55:22 +0000 (08:55 +0800)
"serial-debug-port-address" and "serial-debug-port-type" settings
are actually reserved in the FSP UPD data structure. Remove them.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/baytrail/fsp_configs.c
arch/x86/dts/bayleybay.dts
arch/x86/dts/baytrail_som-db5800-som-6867.dts
arch/x86/dts/minnowmax.dts
arch/x86/include/asm/arch-baytrail/fsp/fsp_vpd.h
doc/device-tree-bindings/misc/intel,baytrail-fsp.txt

index 365e0dd682c37ad26ee5a1247320730718c3a1b7..977d5fe70698ac06ee61bcc5598674fc05a7d65c 100644 (file)
@@ -193,10 +193,6 @@ void update_fsp_configs(struct fsp_config_data *config,
        fsp_upd->aperture_size = fdtdec_get_int(blob, node, "fsp,aperture-size",
                                                2);
        fsp_upd->gtt_size = fdtdec_get_int(blob, node, "fsp,gtt-size", 2);
-       fsp_upd->serial_debug_port_address = fdtdec_get_int(blob, node,
-                       "fsp,serial-debug-port-address", 0x3f8);
-       fsp_upd->serial_debug_port_type = fdtdec_get_int(blob, node,
-                       "fsp,serial-debug-port-type", 1);
        fsp_upd->mrc_debug_msg = fdtdec_get_bool(blob, node,
                                                 "fsp,mrc-debug-msg");
        fsp_upd->isp_enable = fdtdec_get_bool(blob, node, "fsp,isp-enable");
index 42a8131bd50b2898d84be5972d1645b3cd08f856..19169910777e8d593acadffcf2b1446ef409661a 100644 (file)
                fsp,igd-dvmt50-pre-alloc = <2>;
                fsp,aperture-size = <2>;
                fsp,gtt-size = <2>;
-               fsp,serial-debug-port-address = <0x3f8>;
-               fsp,serial-debug-port-type = <1>;
                fsp,scc-enable-pci-mode;
                fsp,os-selection = <4>;
                fsp,emmc45-ddr50-enabled;
index d4199a3c4610c516f909d9030115fe82c30dcd4c..61af6366e0673dfc36dc9530ec6edee435730971 100644 (file)
                fsp,scc-enable-pci-mode;
                fsp,os-selection = <4>;
                fsp,enable-igd;
-               fsp,serial-debug-port-address = <0x3f8>;
-               fsp,serial-debug-port-type = <1>;
        };
 
        microcode {
index 4d55abba3442d9c3f34ac9155fd7743c1803d7cd..75d27610d44e4ba93344fe8c3b3b24722bb79387 100644 (file)
                fsp,igd-dvmt50-pre-alloc = <2>;
                fsp,aperture-size = <2>;
                fsp,gtt-size = <2>;
-               fsp,serial-debug-port-address = <0x3f8>;
-               fsp,serial-debug-port-type = <1>;
                fsp,scc-enable-pci-mode;
                fsp,os-selection = <4>;
                fsp,emmc45-ddr50-enabled;
index 3c782a86e33e41c01670114f82c53eb06b831ffb..b083b6e5ec396aed89135f40caddd62d41586cee 100644 (file)
@@ -64,8 +64,7 @@ struct __packed upd_region {
        uint8_t igd_dvmt50_pre_alloc;           /* Offset 0x0043 */
        uint8_t aperture_size;                  /* Offset 0x0044 */
        uint8_t gtt_size;                       /* Offset 0x0045 */
-       uint32_t serial_debug_port_address;     /* Offset 0x0046 */
-       uint8_t serial_debug_port_type;         /* Offset 0x004a */
+       uint8_t reserved2[5];                   /* Offset 0x0046 */
        uint8_t mrc_debug_msg;                  /* Offset 0x004b */
        uint8_t isp_enable;                     /* Offset 0x004c */
        uint8_t scc_enable_pci_mode;            /* Offset 0x004d */
index 07fa46ef7ef557b095da01cd86b1a255d1160745..f40011edeffe27d7e2759e73a81cc0fe62ba8545 100644 (file)
@@ -60,8 +60,6 @@ discovered by the FSP and used to setup main memory.
 - fsp,igd-dvmt50-pre-alloc
 - fsp,aperture-size
 - fsp,gtt-size
-- fsp,serial-debug-port-address
-- fsp,serial-debug-port-type
 - fsp,os-selection
 - fsp,emmc45-retune-timer-value