SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Table 24-448 lists the firmware capability write sequence by which SATA HBA initialization is performed.
In the following sequence, SATA controller accesses hardware initialization domain registers that can be written only one time after POR.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Disable the staggered spin-up support feature.(1) | SATA_CAP[27] SSS | 0x0 |
Enable the SATA controller port 0. | SATA_PI[0] PI | 0x1 |
Disable the mechanical presence detect feature.(1) | SATA_CAP[28] SMPS | 0x0 |
Disable the external signal-only connector.(1) | SATA_PxCMD[22:21] ESP | 0x0 |
Disable the cold presence detect feature. (1) | SATA_PxCMD[20] CPD | 0x0 |
Disable support for the mechanical presence switch. | SATA_PxCMD[19] MPSP | 0x0 |
Disable the hot-plug-capable port feature. | SATA_PxCMD[18] HPCP | 0x0 |
If PM is attached: | ||
Set the SATA_PxCMD [17] PMA bit to notify HBA that the PM is attached to HBA port 0. | SATA_PxCMD[17] PMA | 0x1 |
ELSE | ||
Clear the SATA_PxCMD[17] PMA bit as a notification that a single-target SATA device is attached to port 0. | SATA_PxCMD[17] PMA | 0x0 |