Merge tag 'xilinx-for-v2018.01-rc2-v2' of git://www.denx.de/git/u-boot-microblaze
Xilinx changes for v2018.01-rc2-v2 fpga: - Enable loading bitstream via fit image for !xilinx platforms zynq: - Fix SPL SD boot mode zynqmp: - Not not reset in panic - Do not use simple allocator because of fat changes - Various dt chagnes - modeboot variable setup - Fix fpga loading on automotive devices - Fix coverity issues test: - Fix env test for !hush case - Stephen's patch
This commit is contained in:
@@ -125,7 +125,16 @@ def set_var(state_test_env, var, value):
|
||||
Nothing.
|
||||
"""
|
||||
|
||||
state_test_env.u_boot_console.run_command('setenv %s "%s"' % (var, value))
|
||||
bc = state_test_env.u_boot_console.config.buildconfig
|
||||
if bc.get('config_hush_parser', None):
|
||||
quote = '"'
|
||||
else:
|
||||
quote = ''
|
||||
if ' ' in value:
|
||||
pytest.skip('Space in variable value on non-Hush shell')
|
||||
|
||||
state_test_env.u_boot_console.run_command(
|
||||
'setenv %s %s%s%s' % (var, quote, value, quote))
|
||||
state_test_env.env[var] = value
|
||||
|
||||
def validate_empty(state_test_env, var):
|
||||
|
||||
Reference in New Issue
Block a user