From: Marek Szyprowski Date: Fri, 18 Dec 2020 14:32:10 +0000 (+0100) Subject: Revert "ARM: meson: Temporary fix for OdroidC4 SD card reboot issue" X-Git-Tag: submit/tizen/20201222.005612~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7080263a4faac69e3af6eebaca820e4179bc8dc;p=platform%2Fkernel%2Fu-boot.git Revert "ARM: meson: Temporary fix for OdroidC4 SD card reboot issue" This reverts commit 394a3fc1a2f2ab0eb61dc32231cb94e8ed55e845. It will be replaced by a patch accepted in mainline uboot. Change-Id: If335526aee08221fcbcd200fb7dbc4b7635d5415 Signed-off-by: Marek Szyprowski --- diff --git a/arch/arm/mach-meson/board-common.c b/arch/arm/mach-meson/board-common.c index a2bb0f94a0..a69bf52753 100644 --- a/arch/arm/mach-meson/board-common.c +++ b/arch/arm/mach-meson/board-common.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -195,14 +194,6 @@ void reset_cpu(ulong addr) #else void reset_cpu(ulong addr) { -#ifdef CONFIG_TIZEN_ODROID_C4 - unsigned int gpio; - const char *str_gpio = "aobus-banks3"; - - gpio_lookup_name(str_gpio, NULL, NULL, &gpio); - gpio_request(gpio, "reboot"); - gpio_direction_input(gpio); -#endif psci_system_reset(); } #endif diff --git a/configs/odroid-c4_defconfig b/configs/odroid-c4_defconfig index 4582acc75d..ef67db057d 100644 --- a/configs/odroid-c4_defconfig +++ b/configs/odroid-c4_defconfig @@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_SYS_BOARD="odroid-n2" -CONFIG_ARM_SMCCC=y CONFIG_ARCH_MESON=y CONFIG_SYS_TEXT_BASE=0x01000000 CONFIG_NR_DRAM_BANKS=1 @@ -12,7 +11,6 @@ CONFIG_TIZEN_AMLOGIC_USE_VENDOR_KERNEL=y CONFIG_DEBUG_UART_BASE=0xff803000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_IDENT_STRING=" odroid-c4" -# CONFIG_PSCI_RESET is not set CONFIG_DEFAULT_DEVICE_TREE="meson-sm1-odroid-c4" CONFIG_DEBUG_UART=y CONFIG_OF_BOARD_SETUP=y