
17 Mar
2020
17 Mar
'20
6:32 p.m.
On 3/16/20 1:40 PM, twarren@nvidia.com wrote:
From: Tom Warren twarren@nvidia.com
'fdt systemsetup' wasn't working, due to the fact that the 'set' command was being parsed in do_fdt() by only testing for the leading 's' instead of "se", which kept the "sys" test further down from executing. Changed to test for "se" instead, now 'fdt systemsetup' works (to test the ft_system_setup proc w/o having to boot a kernel).
Reviewed-by: Stephen Warren swarren@nvidia.com
(Although I wonder if this shouldn't just test the entire string to avoid any possible future ambiguity if more sub-commands are added later. Or doesn't U-Boot already have some sub-command table infra-structure this could use?)