Skip to content

Commit 90ebb70

Browse files
committed
Revert "ODROID-COMMON: Add selfinstall status at boot and scripts."
This reverts commit I017f4b84881ebb0a3266b78f3636de81ae9f1ecc. Change-Id: I60b9c55be3bd42bf172e8448802c2afad07b7553
1 parent 0b3595e commit 90ebb70

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

arch/arm/include/asm/reboot.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ Reboot reason AND corresponding env setting:
5454
#define AMLOGIC_CRASH_REBOOT 11
5555
#define AMLOGIC_KERNEL_PANIC 12
5656
#define AMLOGIC_WATCHDOG_REBOOT 13
57-
#define AMLOGIC_SELFINSTALL 14
5857

5958
/*
6059
old version env

board/hardkernel/odroid-common/recovery.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int board_get_recovery_message(void)
6565

6666
message.recovery[strlen(misc_magic)] = 0;
6767
if (0 == strncmp(message.recovery, misc_magic, strlen(misc_magic))) {
68-
return AMLOGIC_SELFINSTALL;
68+
return AMLOGIC_FACTORY_RESET_REBOOT;
6969
}
7070

7171
return AMLOGIC_REBOOT_UNKNOWN;

common/cmd_reboot.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,6 @@ int do_get_rebootmode (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]
110110
setenv("reboot_mode","rpmbp");
111111
break;
112112
}
113-
case AMLOGIC_SELFINSTALL:
114-
{
115-
setenv("reboot_mode","selfinstall");
116-
break;
117-
}
118113
default:
119114
{
120115
setenv("reboot_mode","charging");

include/configs/odroid-g12-common.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@
178178
"get_rebootmode;" \
179179
"if test ${reboot_mode} = factory_reset; then " \
180180
"run boot_default;" \
181-
"else if test ${reboot_mode} = selfinstall; then " \
182-
"run boot_default;" \
183181
"else if test ${reboot_mode} = cold_boot; then " \
184182
/*"run try_auto_burn; "*/ \
185183
"else if test ${reboot_mode} = fastboot; then " \

0 commit comments

Comments
 (0)