[U-Boot] [PATCH] test/py: Add support for loading image via tftp to specified location
Stephen Warren
swarren at wwwdotorg.org
Thu Mar 31 18:31:11 CEST 2016
On 03/31/2016 02:32 AM, Michal Simek wrote:
> For example this setting:
>
> env__net_tftp_readable_file = {
> "fn": "ep108/image.ub",
> "addr": "0x10000000",
Why not remove the quotes, so the value is an integer already...
Could you please add the "addr" field into the example at the top of
test_net.py too?
> diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
> + addr = int(addr,16)
There should be a space after the comma.
... but removing the quotes as I mentioned above would allow removing
this int() call altogether.
More information about the U-Boot
mailing list