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)
commitf4eef40b01331696d780e9e782106e369c55df10
tree73e4baa0390caa1ac0339c8b138d9d15d3a00325
parentabba76354a049c48fcdf4a252383ccd5c119b8ae
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