AGESA: Allow const PcieComplexList for OemCustomize

It's already implemented like this with binaryPI API header.
That implementation is essentially the same with 'const' qualifier
just being ignored in the build process for PI blob.

For open-source AGESA build, work around -Werror=discarded-qualifier
using a simple but ugly cast.

Change-Id: Ib84eb9aa40f1f4442f7aeaa8c15f6f1cbc6ca295
Signed-off-by: Kyösti Mälkki <>
Tested-by: build bot (Jenkins) <>
Reviewed-by: Marc Jones <>
Reviewed-by: Aaron Durbin <>
9 files changed