build: apply_profile: support for 'D-Link DIR-300 RevA1' and cleanup/helper for more generic HW-detection
Revert "build: apply_profile: support for 'D-Link DIR-300 RevA1' and cleanup/helper for more generic HW-detection"

This reverts commit ca84499fa3ba2b90fe85758f7f43d4a6a1f789cb.