main: move task start from SYS_INIT to main

We will need to perform initialization tasks before we start the EC
tasks. Using SYS_INIT limits our ability to sequence properly. We would
also need to use SYS_INIT for all of our other initialization. Let use
main instead.

BUG=none
TEST=runs on volteer

Cq-Depend: chromium:2523380
Change-Id: I7917cd5ac5f814dce21b39f8601c39f2dce7f323
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2523462
Tested-by: Jett Rink <jettrink@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Commit-Queue: Jett Rink <jettrink@chromium.org>
1 file changed