-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Cherry-Pick] MdeModulePkg\Bus\Spi #845
[Cherry-Pick] MdeModulePkg\Bus\Spi #845
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/202311 #845 +/- ##
==================================================
- Coverage 1.22% 0.92% -0.30%
==================================================
Files 1303 1314 +11
Lines 335685 336616 +931
Branches 3183 3000 -183
==================================================
- Hits 4118 3124 -994
- Misses 331491 333022 +1531
- Partials 76 470 +394
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
a4e5840
to
1d514a2
Compare
…r files BZ#: 4471 Update definitions according to PI spec 1.8 errata A Signed-off-by: Abner Chang <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Cc: Zhiguang Liu <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Cc: Brit Chesley <[email protected]> Reviewed-by: Abdul Lateef Attar <[email protected]> Reviewed-by: Liming Gao <[email protected]>
BZ#: 4472 Add definition of JEDEC Serial Flash Discoverable Parameters (SFDP) specification. https://www.jedec.org/standards-documents/docs/jesd216b Signed-off-by: Abner Chang <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Cc: Zhiguang Liu <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Cc: Brit Chesley <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Abdul Lateef Attar <[email protected]>
…SFDP driver BZ#: 4473 Signed-off-by: Abner Chang <[email protected]> Cc: Liming Gao <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Abdul Lateef Attar <[email protected]>
…SFDP BZ#: 4471 SPI NOR Flash JEDEC Serial Flash Discoverable Driver implementation. Signed-off-by: Abner Chang <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Ray Ni <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Cc: Brit Chesley <[email protected]> Reviewed-by: Liming Gao <[email protected]>
BZ#: 4471 SPI NOR Flash JEDEC Serial Flash Discoverable Driver implementation. Signed-off-by: Abner Chang <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Liming Gao <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Cc: Brit Chesley <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Added SpiBus DXE and SMM drivers. This code translates SPI requests from the application layer into SPI Bus transactions on the SPI host controller. The code is responsible for checking if the transaction is valid, then setting up the SPI clock and chip select properly before passing the bus transaction to the host controller. Platform Initialization Spec 1.7 volume 5 section 18.1.6 Bugzilla #4753 Cc: Abner Chang <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Signed-off-by: Brit Chesley <[email protected]> Reviewed-by: Abner Chang <[email protected]>
Added SpiHc DXE and SMM drivers. This code receives bus transactions from the SpiBus layer and passes them onto the SpiHcPlatformLib Platform Initialization Spec 1.7 volume 5 section 18.1.7 Bugzilla #4753 Cc: Abner Chang <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Signed-off-by: Brit Chesley <[email protected]> Reviewed-by: Abner Chang <[email protected]>
…ance Adding NULL SpiHcPlatformLib instance. This library is responsible for handling the low level details of the SPI host controller. Since this is platform specific this library will be dependent on OEM SPI implementation. The SPI host controller layer will utilize this library for SPI bus transactions. Bugzilla #4753 Cc: Liming Gao <[email protected]> Cc: Ray Ni <[email protected]> Cc: Abner Chang <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Signed-off-by: Brit Chesley <[email protected]> Acked-by: Abner Chang <[email protected]> Reviewed-by: Liming Gao <[email protected]>
1d514a2
to
0276b22
Compare
Including the SpiBus drivers in MdeModulePkg.dsc Platform Initialization spec 1.7 volume 5 section 18.1.6 Bugzilla #4753 Cc: Liming Gao <[email protected]> Cc: Ray Ni <[email protected]> Cc: Abner Chang <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Signed-off-by: Brit Chesley <[email protected]> Acked-by: Abner Chang <[email protected]> Reviewed-by: Liming Gao <[email protected]>
Cc: Abner Chang <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Signed-off-by: Brit Chesley <[email protected]> Reviewed-by: Abner Chang <[email protected]>
Including the SpiHc drivers in MdeModulePkg.dsc Bugzilla #4753 Cc: Liming Gao <[email protected]> Cc: Ray Ni <[email protected]> Cc: Abner Chang <[email protected]> Cc: Abdul Lateef Attar <[email protected]> Signed-off-by: Brit Chesley <[email protected]> Acked-by: Abner Chang <[email protected]> Reviewed-by: Liming Gao <[email protected]>
This PR has been automatically marked as stale because it has not had activity in 60 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
This pull request has been automatically been closed because it did not have any activity in 60 days and no follow up within 7 days after being marked stale. Thank you for your contributions. |
Description
Cherry-picks to introduce the Spi bus drivers into MdeModulePkg.
Needed to support a silicon platform.
For each item, place an "x" in between
[
and]
if true. Example:[x]
.(you can also check items in the GitHub UI)
flow, or firmware?
validation improvement, ...
in build or boot behavior?
a function in a new library class in a pre-existing module, ...
outside direct code modifications (and comments)?
on an a separate Web page, ...
How This Was Tested
N/A
Integration Instructions
N/A