• S
    Makefile: Use common code for MVSATA_IDE deprecation warning · a8834352
    Simon Glass 提交于
    Update the CONFIG_MVSATA_IDE check to use the 'deprecated' function.
    
    Tested with nas220
    
    Old message:
    
    ===================== WARNING ======================
    This board does use CONFIG_MVSATA_IDE which is not
    ported to driver-model (DM) yet. Please update the storage
    controller driver to use CONFIG_AHCI before the v2019.07
    release.
    Failure to update by the deadline may result in board removal.
    See doc/driver-model/migration.rst for more info.
    ====================================================
    
    New message:
    
    ===================== WARNING ======================
    This board does not use CONFIG_AHCI (Driver Model
    for AHCI instead of CONFIG_MVSATA_IDE). Please update the board to use
    CONFIG_AHCI before the v2019.07 release. Failure to
    update by the deadline may result in board removal.
    See doc/driver-model/migration.rst for more info.
    ====================================================
    Signed-off-by: NSimon Glass <sjg@chromium.org>
    a8834352
Makefile 76.0 KB