From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id D9485941E32 for ; Wed, 4 Oct 2023 20:02:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=DXJTEdIl8pcaUqrMEzUxgzviG+vYJdWb89uiNShrfb8=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1696449721; v=1; b=hshlCySYWHXOFBMYAaoHn0a9735I8q+voOJbvVkB5e827boPC5RWRTwOwRskph2p1hwqDYWO OwJkNd9ryYV9H3sShp176vD4Ki8AD/Gz4ZjxtVAzjSuNVaKxv5oQcT+/deHXJ2wiTvCZwg3hdY5 4CUmX2lCKnvXtLreoWmI6rBA= X-Received: by 127.0.0.2 with SMTP id IFYGYY7687511xU7eZD3z7oF; Wed, 04 Oct 2023 13:02:01 -0700 X-Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web11.4800.1696449721133059545 for ; Wed, 04 Oct 2023 13:02:01 -0700 X-Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-69101d33315so157461b3a.3 for ; Wed, 04 Oct 2023 13:02:01 -0700 (PDT) X-Gm-Message-State: Zz9pxkvhJDYp1M6h2KB7bFUZx7686176AA= X-Google-Smtp-Source: AGHT+IF2FxsfrI1yAUex1hmtSYxoP3mT01N9lMnZcjZqmtFY7qkRjqQ1q3a3vDh/z8A64XX4Vc2gZw== X-Received: by 2002:a05:6a20:8e05:b0:154:bfaf:a710 with SMTP id y5-20020a056a208e0500b00154bfafa710mr3847281pzj.41.1696449720134; Wed, 04 Oct 2023 13:02:00 -0700 (PDT) X-Received: from sh170r6.lan ([74.197.247.87]) by smtp.gmail.com with ESMTPSA id s29-20020a63925d000000b0057825bd3448sm3704057pgn.51.2023.10.04.13.01.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 13:01:59 -0700 (PDT) From: "MrChromebox" To: devel@edk2.groups.io Cc: Matt DeVillier Subject: [edk2-devel] [PATCH 2/3] UefiPayloadEntry: Set serial ClockRate from parsed SerialInfo Date: Wed, 4 Oct 2023 15:01:34 -0500 Message-Id: <1838d7879e96ef5997acaab120052fa2179429d6.1696448945.git.matt.devillier@gmail.com> In-Reply-To: <9143994e6a5f37650930abfc4141c6061e5bef98.1696448945.git.matt.devillier@gmail.com> References: <9143994e6a5f37650930abfc4141c6061e5bef98.1696448945.git.matt.devillier@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,matt.devillier@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=hshlCySY; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Extract and use the serial port clock rate provided by coreboot via the InputHertz field. Signed-off-by: Matt DeVillier Change-Id: If764bd7c0b691cf887205471d0343fdf62372141 --- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c b/UefiPaylo= adPkg/UefiPayloadEntry/UefiPayloadEntry.c index 030a5baed9..91dfac0d76 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c @@ -431,6 +431,7 @@ _ModuleEntryPoint ( UniversalSerialPort->UseMmio =3D (SerialPortInfo.Type =3D=3D 1= ) ? FALSE : TRUE;=0D UniversalSerialPort->RegisterBase =3D SerialPortInfo.BaseAddr;=0D UniversalSerialPort->BaudRate =3D SerialPortInfo.Baud;=0D + UniversalSerialPort->ClockRate =3D SerialPortInfo.InputHertz;=0D UniversalSerialPort->RegisterStride =3D (UINT8)SerialPortInfo.RegWidt= h;=0D }=0D =0D --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109336): https://edk2.groups.io/g/devel/message/109336 Mute This Topic: https://groups.io/mt/101763376/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-