From internal git commit: 6b8e5d48cb9ca593cc9a91991d83d6b575e08467 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>