sync with HEAD
Use ahci_resume
Let bus_space so the endian conversion if needed
For armv7, enable BE properly.  Make sure UNAL is always set.
If BE on armv7, set PSR_E_BIT
For non-BCM5301X, set frequency to 1/4 of the apb clock.
flush the icache after enabling the SCU
Use apb/4 for the com freq on !BCM5301X
Use adr/bfi to access kernel variables.
Allow SRAB to be optional
Sync with HEAD.
Make the minimal alignment 8 if EABI or ldrd/strd are supported.
Only 5301X has GPIO via CCA
Add ARM_HAS_VBAR
Make ALIGNBYTES use __ALIGNBYTES