Re: [U-Boot] [PATCH 2/3] ARM: rmobile: Add basic PSCI support for r8a7790 SoC

2019-02-27 Thread Oleksandr Tyshchenko
Hi, Marek sorry for possible format issue. ср, 27 февр. 2019 г., 23:02 Marek Vasut : > On 2/26/19 8:37 PM, Oleksandr wrote: > > > > Hi, Marek > > Hi, > > +} > + > +/* > + * Reset vector for secondary CPUs. > + * This will be mapped at address 0 by SB

[U-Boot] [PATCH 3/3] ARM: rmobile: Add possibility to debug main PSCI commands

2019-01-31 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Also take care of the fact that Lager and Stout boards use different serial interface for console. Signed-off-by: Oleksandr Tyshchenko --- arch/arm/mach-rmobile/debug.h | 91 +++ arch/arm/mach-rmobile/psci.c | 23

[U-Boot] [PATCH 2/3] ARM: rmobile: Add basic PSCI support for r8a7790 SoC

2019-01-31 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Also enable PSCI support for Stout and Lager boards where actually the r8a7790 SoC is installed. All secondary CPUs will be switched to a non-secure HYP mode after booting. Signed-off-by: Oleksandr Tyshchenko --- arch/arm/mach-rmobile/Kconfig.32 | 2 + arch/arm

[U-Boot] [PATCH 1/3] ARM: rmobile: Switch CPU to non-secure HYP mode for r8a7790 based boards

2019-01-31 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Both Lager and Stout boards are based on r8a7790 SoC. Leave platform specific functions for bringing seconadary CPUs up empty, since our target is to use PSCI for that. Also take care of updating arch timer while we are in secure mode. Signed-off-by: Oleksandr

[U-Boot] [PATCH 0/3] PSCI support for r8a7790 SoC (Lager/Stout boards)

2019-01-31 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Hi, all. The purpose of this patch series is to add PSCI support for Renesas boards based on R-Car Gen2 r8a7790 SoC. Actually, our target in Stout board, but as Lager board is also based on the same SoC, that patch series covers both. The main goal of using PSCI is

[U-Boot] [u-boot][RFC v1] sdp4430: Enable Falcon boot mode for mmc (RAW and FAT)

2013-08-06 Thread Oleksandr Tyshchenko
CONFIG_SPL_OS_BOOT feature. Set MMCDEV_DEFAULT to 1 in CONFIG_EXTRA_ENV_SETTINGS, since the target device is mmc1 (eMMC). Also enable the spl command in the full U-Boot so the kernel parameter area snapshot can be created. Signed-off-by: Oleksandr Tyshchenko --- board/ti/sdp4430/sdp.c

[U-Boot] [u-boot][RFC v1] sdp4430: Initialize board id using CONFIG_MACH_TYPE

2013-08-06 Thread Oleksandr Tyshchenko
Use CONFIG_MACH_TYPE generic macro to set the machine type number in the common arm code instead of setting it in the board code. Signed-off-by: Oleksandr Tyshchenko --- board/ti/sdp4430/sdp.c |1 - include/configs/omap4_sdp4430.h |1 + 2 files changed, 1 insertion(+), 1

[U-Boot] [u-boot][RFC v1] omap_hsmmc: omap4+/am335x: modify MMC controller internal fsm reset func

2013-08-06 Thread Oleksandr Tyshchenko
xt command MMC_CMD_APP_CMD leads to a timeout error within 1s. So, extend CMD(DATA) lines reset procedure in func mmc_reset_controller_fsm() by adding the missing step #2 for OMAP4+/AM335x boards. Signed-off-by: Oleksandr Tyshchenko --- drivers/mmc/omap_hsmmc.c | 24 1 fi

[U-Boot] [u-boot][RFC v1] mmc: Remove unused variable backup from mmc_send_cmd()

2013-08-06 Thread Oleksandr Tyshchenko
Do not call a memset for unused variable backup every time. Remove unused variable from function. Signed-off-by: Oleksandr Tyshchenko --- drivers/mmc/mmc.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 73f7195..c9cb9ff 100644 --- a/drivers

[U-Boot] [u-boot][RFC v1] ARMV7: OMAP4+: Fix boot issues when using Alternative Boot operation mode

2013-08-06 Thread Oleksandr Tyshchenko
bootmode from MMCSD_MODE_UNDEFINED to MMCSD_MODE_RAW for it to support this mode. As for OMAP5, then only change bootmode to MMCSD_MODE_RAW. Signed-off-by: Oleksandr Tyshchenko --- arch/arm/cpu/armv7/omap-common/boot-common.c | 21 - arch/arm/include/asm/arch-omap4/spl.h