Compatibility with latest Pi firmware
Detail: * Recent versions of the firmware call the ROM's entry point in HYP mode (except for ARM11 boards which don't have it). Detect this eventuality and drop into SVC mode safely if so. * Whilst testing this fix, I discovered that occasionally, secondary CPUs seem to be being woken up, and start executing the ROM entry point also. This shouldn't be happening, but for safety's sake, I'm detecting this eventuality and putting any secondary CPUs into a sleep loop. Admin: Tested on Pi 1 and 2. Requires HdrSrc 2.56. Version 0.49. Tagged as 'BCM2835-0_49'
Showing with 38 additions and 12 deletions