Skip to content
  • Rafal Jaworowski's avatar
    API: Improve glue mid-layer of the API demo application. · 923aa481
    Rafal Jaworowski authored
    
    
    - Extend ub_dev_read() and ub_dev_recv() so they return the length actually
    read, which allows for better control and error handling (this introduces
    additional error code API_ESYSC returned by the glue mid-layer).
    
    - Clean up definitions naming and usage.
    
    - Other minor cosmetics.
    
    Note these changes do not touch the API proper, so the interface between
    U-Boot and standalone applications remains unchanged.
    
    Signed-off-by: default avatarRafal Jaworowski <raj@semihalf.com>
    923aa481