bcm53xx: image: share function checking TRX in provided firmware