A compilation error occurs with GNUARM if BL2 is turned off.
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/269/