sandbox: Support multiple reset types
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 18:54:26 +0000 (12:54 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:31 +0000 (17:39 -0600)
commitdc6f4d3a55c7e26af6b0cd41bcd9486b16a1ab9e
treef5e4e8a840d14db2c7bc71c84360242945ce24a0
parent6a1c7cef14a41ade84bccdded1fd87b908b6958c
sandbox: Support multiple reset types

Add settings for the last reset generated, and the types of resets which
are permitted. This will be used for testing.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/state.c
arch/sandbox/include/asm/state.h