rockchip: board.c: support reboot stess test
It's a way to test system stability before kernel stages. Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I6679fbbbaa7233750b409b6b832849d8dbd36893
This commit is contained in:
parent
4b1cd58cd0
commit
a225402cf7
|
|
@ -777,6 +777,12 @@ config ROCKCHIP_UART_MUX_SEL_M
|
||||||
help
|
help
|
||||||
This select uart multiplexer for debug uart iomux in board_debug_uart_init.
|
This select uart multiplexer for debug uart iomux in board_debug_uart_init.
|
||||||
|
|
||||||
|
config ROCKCHIP_REBOOT_TEST
|
||||||
|
bool "Rockchip reboot stress test before kernel"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
It's a reboot stress test before kernel stages.
|
||||||
|
|
||||||
config BASE_DEFCONFIG
|
config BASE_DEFCONFIG
|
||||||
string "Base defconfig of config fragment"
|
string "Base defconfig of config fragment"
|
||||||
default ""
|
default ""
|
||||||
|
|
|
||||||
|
|
@ -912,6 +912,10 @@ void board_quiesce_devices(void *images)
|
||||||
atags_destroy();
|
atags_destroy();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_ROCKCHIP_REBOOT_TEST
|
||||||
|
do_reset(NULL, 0, 0, NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_FIT_ROLLBACK_PROTECT
|
#ifdef CONFIG_FIT_ROLLBACK_PROTECT
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue