Newer
Older
AMI-Aptio-BIOS-Reversed / PurleyRpPkg / Uba / UbaMain / Dxe / UsbOcUpdateDxeLightningRidgeEXECB4 / README.md
@Ajax Dong Ajax Dong 2 days ago 937 bytes Restructure the repo

UsbOcUpdateDxeLightningRidgeEXECB4

Index: 0044 | Size: 3424 bytes | Arch: x64 | Phase: DXE

Overview

USB Overcurrent mapping driver for the LightningRidge EX EC B4 platform. Installs a USB OC configuration protocol with port-to-overcurrent-pin mappings selected at runtime by reading CMOS index 0x4B (board revision strap). Supports three pre-compiled mapping tables for different board revisions.

Key Functions

  • _ModuleEntryPoint — Initializes globals, gets HOB list, reads board revision, installs USB OC protocol
  • GetUsbOcConfigTables — Returns the USB OC mapping table for the detected board revision
  • DebugPrintEx — Conditional debug output with CMOS-based platform type filtering

Protocols / Dependencies

  • UBA USB OC Protocol
  • EFI HOB List
  • CMOS register 0x4B (board revision selection)

Platform

LightningRidge EX EC B4 (three board revision tables: Default, Alt/B2 stepping, Extended)