env: ti: boot: fix bootargs for rootfs partition
The following commit broke the TI boot environment:
400b9554cc3e ("cmd: part: number: return hexadecimal value")
Changing the output of the command to hexadecimal produced the following
change:
root=/dev/mmcblk0p<0xhex_value>
And it should be:
root=/dev/mmcblk0p<decimal_value>
Fix by setting part number's output to decimal before using it.
Fixes: 400b9554cc3e ("cmd: part: number: return hexadecimal value")
Bug: https://baylibre.atlassian.net/browse/RITA-65
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
1 file changed