fdt: Fix 'system' command
authorTom Warren <twarren@nvidia.com>
Thu, 26 Mar 2020 22:20:44 +0000 (15:20 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Apr 2020 14:07:58 +0000 (08:07 -0600)
commit0688b758a2c2d3c56dd46ceb6c78ebf29867cc57
tree6d3963d2b92e039db7dc846cdf140b6b794691f1
parent48e4288aed7d05399a4c0d3ff908319d2793e3f5
fdt: Fix 'system' command

'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).

Signed-off-by: Tom Warren <twarren@nvidia.com>
cmd/fdt.c