def dumpsects(spi_list):
    debug_print('spi_list has {0} entries'.format(len(spi_list)))
    for s in spi_list:
        debug_print('0x{0:x} 0x{1:x} {2:s}'.format(s[0], len(s[1]), s[2]))
def dumpsects(spi_list):
    debug_print('spi_list has {0} entries'.format(len(spi_list)))
    for s in spi_list:
        debug_print('0x{0:x} 0x{1:x} {2:s}'.format(s[0], len(s[1]), s[2]))