Flash original Radeon RX 480 GPU bios firmware through Linux

I recently purchased an XFX RX 480 8GB from EBay. It’s running mostly OK but it was flashed with RX 580 firmware and I’d like to restore it.

I found atiflash from d13g0s0uz4 on GitHub but there’s not a whole lot here so I’m skeptical.

I’m also pretty sure that this techpowerup page shows the card I have.

The official XFX page for this card contains a broken link to BIOS files boasting “XFX Dual BIOS Capable”

All of this looks very unofficial and I don’t really want to brick my GPU so any help here would be greatly appreciated! :slight_smile: