env: ti: boot: Get rid of magic numbers
authorSam Protsenko <semen.protsenko@linaro.org>
Mon, 26 Feb 2018 21:18:01 +0000 (23:18 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:59:27 +0000 (21:59 -0400)
commit2c9afab9ac17cb1d7c0861ec6d3f078e878dce13
treef7ac4687e0b991a90a84c094a37df694559f777a
parent64e6a49a11ab8226dfda00036044841ca87b94d8
env: ti: boot: Get rid of magic numbers

Get the start address and the size of partitions using partition names
rather than partition numbers. This way we can change the partition
table further without changing the boot code.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
include/environment/ti/boot.h