Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Andreas Bießmann's avatar
    efd7c114
    display_options:print_buffer: align ASCII print · efd7c114
    Andreas Bießmann authored
    
    This patch adds whitespace to the printed hex numbers to have an aligned ASCII
    printout at the end of the line.
    
    This changes for example the md output from:
    
    ---8<---
    OMAP3 Tricorder # md.l $loadaddr 5
    82000000: 30200109 20a4028c 90010000 08a00000    .. 0... ........
    82000010: 01010000    ....
    --->8---
    
    to
    
    ---8<---
    OMAP3 Tricorder # md.l $loadaddr 5
    82000000: 30200109 20a4028c 90010000 08a00000    .. 0... ........
    82000010: 01010000                               ....
    --->8---
    
    The cost of this is about 72 byte .text increase (tested with at91 build).
    
    Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
    efd7c114
    History
    display_options:print_buffer: align ASCII print
    Andreas Bießmann authored
    
    This patch adds whitespace to the printed hex numbers to have an aligned ASCII
    printout at the end of the line.
    
    This changes for example the md output from:
    
    ---8<---
    OMAP3 Tricorder # md.l $loadaddr 5
    82000000: 30200109 20a4028c 90010000 08a00000    .. 0... ........
    82000010: 01010000    ....
    --->8---
    
    to
    
    ---8<---
    OMAP3 Tricorder # md.l $loadaddr 5
    82000000: 30200109 20a4028c 90010000 08a00000    .. 0... ........
    82000010: 01010000                               ....
    --->8---
    
    The cost of this is about 72 byte .text increase (tested with at91 build).
    
    Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>