• S
    Makefile: Use common code for USB deprecation warning · 9e035b8e
    Simon Glass 提交于
    Update the USB check to use the 'deprecated' function.
    
    Tested with xpress
    
    Old message:
    
    ===================== WARNING ======================
    This board does not use CONFIG_DM_USB. Please update
    the board to use CONFIG_DM_USB 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_DM_USB (Driver Model
    for  USB). Please update the board to use
    CONFIG_DM_USB 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>
    9e035b8e
Makefile 76.4 KB