xtensa: ISS: update kernel command line in platform_setup
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 13 Mar 2017 17:34:36 +0000 (10:34 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 13 Mar 2017 20:47:20 +0000 (13:47 -0700)
commitfbe22d280014e783fe2454db2a0ba44fc4f68a5a
tree6210fb99a4704fd52fd3af840fa8e1f7c48a167b
parente8cd8da934f29a0aca2c4bd96310a0b6ba6e31a7
xtensa: ISS: update kernel command line in platform_setup

Move platform_setup call higher in initialization sequence so that it
could change kernel command line.
Check command line passed to simulator in ISS platform_stup and update
kernel command line if there's anything.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c
arch/xtensa/platforms/iss/setup.c