]> git.baikalelectronics.ru Git - uboot.git/commit
test/py: remove hacks for non-zero RAM base address in tests
authorQuentin Schulz <quentin.schulz@bootlin.com>
Mon, 9 Jul 2018 17:16:27 +0000 (19:16 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jul 2018 19:55:08 +0000 (15:55 -0400)
commit0f47d28ad6956b53130e0254d9d416fb42a7469c
tree73e4baa0390caa1ac0339c8b138d9d15d3a00325
parent46f2723c328ff5aeee3261aa61f1a72e50956277
test/py: remove hacks for non-zero RAM base address in tests

Some functions have different behaviour when the given address is 0
(assumed to be NULL by the function).

find_ram_base() does not return 0 anymore so it's safe to remove those
offsets.

Suggested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
test/py/tests/test_efi_loader.py
test/py/tests/test_net.py
test/py/tests/test_tpm2.py