From 70023bab7efe1147402bcb8d31378f949c4527f6 Mon Sep 17 00:00:00 2001 From: "Tien Hock, Loh" Date: Thu, 9 May 2019 17:19:54 +0800 Subject: [PATCH] MdeModulePkg: BaseSerialPortLib16550: Add missing Pcd to UNI BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1771 Some buses doesn't allow 8 bit MMIO read/write, this adds support for 32 bits read/write. This patch adds the UNI information on the new Pcd introduced - PcdSerialRegisterAccessWidth Signed-off-by: "Tien Hock, Loh" Cc: Jian J Wang Cc: "Zhu, YongHong" Reviewed-by: Hao A Wu --- MdeModulePkg/MdeModulePkg.uni | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.uni b/MdeModulePkg/MdeModulePkg.uni index b71e68617c..ed8ac9eadc 100644 --- a/MdeModulePkg/MdeModulePkg.uni +++ b/MdeModulePkg/MdeModulePkg.uni @@ -160,6 +160,12 @@ "TRUE - 16550 serial port registers are in MMIO space.
\n" "FALSE - 16550 serial port registers are in I/O space.
" +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialRegisterAccessWidth_PROMPT #language en-US "Serial port registers access width" + +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialRegisterAccessWidth_HELP #language en-US "Sets the 16550 serial port registers access width in MMIO space. Default is 8 bits access.

\n" + "8 - 16550 serial port MMIO register access are in 8 bits mode.
\n" + "32 - 16550 serial port MMIO registers acess are in 32 bits mode.
" + #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialUseHardwareFlowControl_PROMPT #language en-US "Enable serial port hardware flow control" #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialUseHardwareFlowControl_HELP #language en-US "Indicates if the 16550 serial port hardware flow control will be enabled. Default is FALSE.

\n" -- 2.39.2