Skip to content
Snippets Groups Projects
  • Stefan Roese's avatar
    39ff7d5f
    POST: Remove duplicated post_hotkey_pressed() functions · 39ff7d5f
    Stefan Roese authored
    
    This patch introduces a weak default function for post_hotkey_pressed(),
    returning 0, for boards without hotkey support. The long-running tests
    won't be started on those boards. This default function was implemented
    in many board directories. By implementing this weak default we can
    remove all those duplicate versions.
    
    Boards with hotkey support, can override this weak default function
    by defining one in their board specific code.
    
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    39ff7d5f
    History
    POST: Remove duplicated post_hotkey_pressed() functions
    Stefan Roese authored
    
    This patch introduces a weak default function for post_hotkey_pressed(),
    returning 0, for boards without hotkey support. The long-running tests
    won't be started on those boards. This default function was implemented
    in many board directories. By implementing this weak default we can
    remove all those duplicate versions.
    
    Boards with hotkey support, can override this weak default function
    by defining one in their board specific code.
    
    Signed-off-by: default avatarStefan Roese <sr@denx.de>