from internal git commit: 2bccf1a6d5d71a9bfc01d8f746dea73dacddca4e Signed-off-by: Alex Deucher <alexander.deucher@amd.com>