payload loading: remove passing of struct payload
commitebf2ed46211e0ccd82d11c34226eb578f9532a2a
authorAaron Durbin <adurbin@chromium.org>
Fri, 20 Mar 2015 15:20:15 +0000 (20 10:20 -0500)
committerAaron Durbin <adurbin@google.com>
Tue, 31 Mar 2015 17:31:57 +0000 (31 19:31 +0200)
tree4f6ee80302be89c88aa7dfa8d227231fec723487
parentfcfdff84f4ddd6fe7bf68c3bc84c0173911d13de
payload loading: remove passing of struct payload

There's no need to keep track of struct payload within
the boot state machine. It is completely contained within
the payload loader module.

Change-Id: I16fcecf43d7fb41fc311955fdb82eabbd5c96b11
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/8836
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/include/program_loading.h
src/lib/hardwaremain.c
src/lib/loaders/load_and_run_payload.c