Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • U-Boot U-Boot
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • U-BootU-Boot
  • U-BootU-Boot
  • Repository
Switch branch/tag
  • u-boot
  • doc
  • README.commands
Find file BlameHistoryPermalink
  • Luka Kovacic's avatar
    cmd: gpio: Correct do_gpio() return value · 4dbc107f
    Luka Kovacic authored Jan 05, 2020 and Tom Rini's avatar Tom Rini committed Feb 07, 2020
    
    
    Use the correct return value in function do_gpio() and update
    commands documentation with the return values from command_ret_t enum.
    
    CMD_RET_SUCCESS is returned on command success and CMD_RET_FAILURE is
    returned on command failure.
    
    The command was returning the pin value, which caused confusion when
    debugging (#define DEBUG).
    
    Signed-off-by: default avatarLuka Kovacic <luka.kovacic@sartura.hr>
    Tested-by: default avatarRobert Marko <robert.marko@sartura.hr>
    4dbc107f

Imprint & Privacy Policy