[U-Boot] [PATCH] net: Fix incorrect DHCP/BOOTP packet layout on 64-bit systems

2015-03-31 Thread Sergey Temerkhanov
ned-off-by: Radha Mohan Chintakuntla Signed-off-by: Sergey Temerkhanov Cc: joe.hershber...@gmail.com --- include/net.h | 122 +- net/bootp.c | 24 ++-- net/bootp.h | 24 ++-- 3 files changed, 85 insertions(+), 85 deletion

[U-Boot] [PATCH 1/3] usb: Convert protocol header structures to use explicitly sized variables

2015-04-01 Thread Sergey Temerkhanov
This patch converts USB protocol headers to use explicitly sized fields like the rest of the code Signed-off-by: Radha Mohan Chintakuntla Signed-off-by: Sergey Temerkhanov --- include/usb.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/usb.h b

[U-Boot] [PATCH 2/3] usb: 64-bit architectures support for xHCI

2015-04-01 Thread Sergey Temerkhanov
This commit allows xHCI to use both 64 and 32 bit memory physical addresses depending on architecture it's being built for. Also it makes use of readq()/writeq() on 64-bit systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- drivers/usb/host/xhci-mem.c

[U-Boot] [PATCH 0/3] USB subsystem changes for 64 bit

2015-04-01 Thread Sergey Temerkhanov
This patch series contains USB fixes and enhancements for more complete support of 64-bit architectures ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 3/3] usb_storage:Fix USB storage capacity detection on 64 bit architectures

2015-04-01 Thread Sergey Temerkhanov
ian values treatment style to be architecture-independent Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- common/usb_storage.c | 44 +++- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/common/usb_storage.

[U-Boot] [PATCH 0/3] Extend ARMv8 support

2015-04-01 Thread Sergey Temerkhanov
This patchset is meant is created in preparation to submission of patch series which will add support of the Cavium ThunderX SoC. This series adds support of setting up 2-level page tables as well as functions which allow issuing firmware calls ___ U-Boo

[U-Boot] [PATCH 2/3] armv8:Add SMC calls infrastructure

2015-04-01 Thread Sergey Temerkhanov
This commit adds functions issuing calls to firmware. This allows to use services such as PSCI provided by firmware, e.g. ATF Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/fwcall.c | 88

[U-Boot] [PATCH 1/3] armv8:New MMU setup code allowing to set up 2-level page tables

2015-04-01 Thread Sergey Temerkhanov
execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- arch/arm/cpu/armv8/cache_v8.c | 95 ++ arch/arm/cpu/armv8/start.S | 36

[U-Boot] [PATCH 3/3] armv8:Add psci.h from the Linux kernel

2015-04-01 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- include/linux/psci.h | 90

[U-Boot] [PATCH 2/7] armv8:Add SMC calls infrastructure

2015-04-16 Thread Sergey Temerkhanov
This commit adds functions issuing calls to firmware. This allows to use services such as PSCI provided by firmware, e.g. ATF Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/fwcall.c | 79

[U-Boot] [PATCH 5/7] armv8: cavium: Add ThunderX 88xx board definition

2015-04-16 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- arch/arm/Kconfig | 4 + board/cavium/thunderx/Kconfig| 19 + board/cavium/thunderx/Makefile | 8 ++ board

[U-Boot] [PATCH 3/7] armv8:Add psci.h from the Linux kernel

2015-04-16 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- include/linux/psci.h | 90

[U-Boot] [PATCH 1/7] armv8:New MMU setup code allowing to set up 2-level page tables

2015-04-16 Thread Sergey Temerkhanov
execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- arch/arm/cpu/armv8/cache_v8.c | 95 ++ arch/arm/cpu/armv8/start.S | 36

[U-Boot] [PATCH 0/7] Add Cavium ThunderX support

2015-04-16 Thread Sergey Temerkhanov
This patch series adds support for Cavium ThunderX 88xx SoC family (http://www.cavium.com/ThunderX_ARM_Processors.html). ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 4/7] arm: uart: Add ability to use pre-initialized UARTs

2015-04-16 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- drivers/serial/serial_pl01x.c | 4 +++- 1 file changed, 3 insertions(+), 1

[U-Boot] [PATCH 7/7] armv8: cavium: Get DRAM size from ATF

2015-04-16 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderXto query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/dram.c | 35

[U-Boot] [PATCH 6/7] armv8: cavium: Add an implementation of ATF calling functions

2015-04-16 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/atf.c | 312 include/cavium

[U-Boot] [PATCH v3 2/7] armv8: Add SMC calls infrastructure

2015-08-13 Thread Sergey Temerkhanov
This commit adds functions issuing calls to firmware. This allows to use services such as PSCI provided by firmware, e.g. ATF The SMC call can destroy all registers declared temporary by the calling conventions. The clobber list is "x0..x17" because of this Signed-off-by: Sergey T

[U-Boot] [PATCH v3 4/7] arm: serial: Add ability to use pre-initialized UARTs

2015-08-13 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Added __used keyword Changes in v2: None drivers/serial

[U-Boot] [PATCH v3 5/7] armv8: cavium: Add ThunderX 88xx board definition

2015-08-13 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Fixed formatting - Added MAINTAINERS Changes in v2: None arch/arm/Kconfig | 4 + board/cavium

[U-Boot] [PATCH v3 3/7] armv8: Add psci.h from the Linux kernel

2015-08-13 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None include/linux/psci.h | 90

[U-Boot] [PATCH v3 6/7] armv8: cavium: Add an implementation of ATF calling functions

2015-08-13 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/atf.c | 312

[U-Boot] [PATCH v3 7/7] armv8: cavium: Get DRAM size from ATF

2015-08-13 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/dram.c

[U-Boot] [PATCH v3 1/7] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-08-13 Thread Sergey Temerkhanov
execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Reduced code duplication - Renamed CONFIG_SYS_PTL1_BITS to CONFIG_SYS_PTL2_BITS - Moved 'reset_sctrl' c

[U-Boot] [PATCH v3 0/7] This patch series adds support for Cavium ThunderX 88xx SoC family

2015-08-13 Thread Sergey Temerkhanov
Fixed clobber lists (thanks to Corey) - Added __used keyword - Fixed formatting - Added MAINTAINERS Changes in v2: - Changed code licensing - Completed the patchset Sergey Temerkhanov (7): armv8: New MMU setup code allowing to use 48+ bits PA/VA armv8: Add SMC calls infrastructure armv8: Add p

[U-Boot] [RESUBMIT PATCH v3 1/8] armv8: Add read_mpidr() function

2015-08-13 Thread Sergey Temerkhanov
This patch adds the read_mpidr() function which returns the MPIDR_EL1 register value Signed-off-by: Sergey Temerkhanov --- Changes in v3: None Changes in v2: None arch/arm/include/asm/system.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/include/asm/system.h b

[U-Boot] [RESUBMIT PATCH v3 4/8] armv8: Add psci.h from the Linux kernel

2015-08-13 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None include/linux/psci.h | 90

[U-Boot] [RESUBMIT PATCH v3 3/8] armv8: Add SMC calls infrastructure

2015-08-13 Thread Sergey Temerkhanov
This commit adds functions issuing calls to firmware. This allows to use services such as PSCI provided by firmware, e.g. ATF The SMC call can destroy all registers declared temporary by the calling conventions. The clobber list is "x0..x17" because of this Signed-off-by: Sergey T

[U-Boot] [RESUBMIT PATCH v3 6/8] armv8: cavium: Add ThunderX 88xx board definition

2015-08-13 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Fixed formatting - Added MAINTAINERS - Moved command definitions to defconfig Changes in v2: None arch/arm/Kconfig

[U-Boot] [RESUBMIT PATCH v3 7/8] armv8: cavium: Add an implementation of ATF calling functions

2015-08-13 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/atf.c | 312

[U-Boot] [RESUBMIT PATCH v3 5/8] arm: serial: Add ability to use pre-initialized UARTs

2015-08-13 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Added __used keyword Changes in v2: None drivers/serial

[U-Boot] [RESUBMIT PATCH v3 8/8] armv8: cavium: Get DRAM size from ATF

2015-08-13 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/dram.c

[U-Boot] [RESUBMIT PATCH v3 0/8] This patch series adds support for Cavium ThunderX 88xx SoC family

2015-08-13 Thread Sergey Temerkhanov
Fixed clobber lists (thanks to Corey) - Added __used keyword - Fixed formatting - Added MAINTAINERS - Moved command definitions to defconfig Changes in v2: - Changed code licensing - Completed the patchset Sergey Temerkhanov (8): armv8: Add read_mpidr() function armv8: New MMU setup code allowin

[U-Boot] [RESUBMIT PATCH v3 2/8] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-08-13 Thread Sergey Temerkhanov
execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Reduced code duplication - Renamed CONFIG_SYS_PTL1_BITS to CONFIG_SYS_PTL2_BITS - Moved 'reset_sctrl' c

[U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

2015-08-13 Thread Sergey Temerkhanov
Increase xHCI transfer size for USB storage devices. This helps to achieve 10-20x speedup for large transfers Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- common/usb_storage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common

[U-Boot] [PATCH] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Sergey Temerkhanov
This patch fixes a potential NULL pointer dereference arising on non-present/non-initialized xHCI controllers Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- drivers/usb/host/xhci.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a

[U-Boot] [PATCH v2] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Sergey Temerkhanov
This patch fixes a potential NULL pointer dereference arising on non-present/non-initialized xHCI controllers and adds some error handling to xHCI code Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v2: - Add return value check with setting hccr and

[U-Boot] [PATCH v3] usb: xhci: Fix a potential NULL pointer dereference

2015-08-17 Thread Sergey Temerkhanov
This patch fixes a potential NULL pointer dereference arising on non-present/non-initialized xHCI controllers and adds some error handling to xHCI code Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Assign NULL to *controller so it remains that

[U-Boot] [PATCH v4 1/8] armv8: Add read_mpidr() function

2015-08-18 Thread Sergey Temerkhanov
This patch adds the read_mpidr() function which returns the MPIDR_EL1 register value Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/system.h | 11

[U-Boot] [PATCH v4 6/8] armv8: cavium: Add ThunderX 88xx board definition

2015-08-18 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: - Moved CONFIG_SYS_PROMPT to configs/thunderx_88xx_defconfig - Add proper DM_SERIAL definitions Changes in v3: - Fixed

[U-Boot] [PATCH v4 7/8] armv8: cavium: Add an implementation of ATF calling functions

2015-08-18 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: None Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/atf.c

[U-Boot] [PATCH v4 8/8] armv8: cavium: Get DRAM size from ATF

2015-08-18 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: None Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium

[U-Boot] [PATCH v4 4/8] armv8: Add psci.h from the Linux kernel

2015-08-18 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: None Changes in v3: None Changes in v2: None include/linux

[U-Boot] [PATCH v4 5/8] arm: serial: Add ability to use pre-initialized UARTs

2015-08-18 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: - Fixed build warnings - Moved to DM_SERIAL Changes in v3

[U-Boot] [PATCH v4 0/8] This patch series adds support for Cavium ThunderX 88xx SoC family

2015-08-18 Thread Sergey Temerkhanov
MAINTAINERS - Moved command definitions to defconfig Changes in v2: - Changed code licensing - Completed the patchset Sergey Temerkhanov (8): armv8: Add read_mpidr() function armv8: New MMU setup code allowing to use 48+ bits PA/VA armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrast

[U-Boot] [PATCH v4 3/8] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure

2015-08-18 Thread Sergey Temerkhanov
clobber list is "x0..x17" because of this Signed-off-by: Sergey Temerkhanov Signed-off-by: Corey Minyard Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: - Document FW calls Changes in v3: - Fixed clobber lists (thanks to Corey) Changes in v2: None arch/arm/cpu/armv

[U-Boot] [PATCH v4 2/8] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-08-18 Thread Sergey Temerkhanov
execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v4: - Use ALIGN macro for address alignment Changes in v3: - Reduced code duplication - Renamed CONFIG_SYS_PTL1_BITS to

[U-Boot] [PATCH v5 1/9] armv8: Add read_mpidr() function

2015-09-07 Thread Sergey Temerkhanov
This patch adds the read_mpidr() function which returns the MPIDR_EL1 register value Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm

[U-Boot] [PATCH v5 3/9] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure

2015-09-07 Thread Sergey Temerkhanov
clobber list is "x0..x17" because of this Signed-off-by: Sergey Temerkhanov Signed-off-by: Corey Minyard Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: - Document FW calls Changes in v3: - Fixed clobber lists (thanks to Corey

[U-Boot] [PATCH v5 6/9] armv8: cavium: Add the device tree for ThunderX

2015-09-07 Thread Sergey Temerkhanov
This commit adds the FDT for the ThunderX family of SoCs Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v5: - Added FDT for ThunderX 88xx series Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/dts/Makefile | 1

[U-Boot] [PATCH v5 5/9] arm: serial: Add ability to use pre-initialized UARTs

2015-09-07 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v5: - Added OF control support Changes in v4: - Fixed build

[U-Boot] [PATCH v5 4/9] armv8: Add psci.h from the Linux kernel

2015-09-07 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 9/9] armv8: cavium: Get DRAM size from ATF

2015-09-07 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla DRAM fix --- Changes in v5: - Moved dram_init() from a separate file to thunderx.c Changes in v4: None Changes in v3

[U-Boot] [PATCH v5 7/9] armv8: cavium: Add ThunderX 88xx board definition

2015-09-07 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v5: - Added CONFIG_OF_CONTROL support - Changed memory attributes Changes in v4: - Moved CONFIG_SYS_PROMPT to configs

[U-Boot] [PATCH v5 8/9] armv8: cavium: Add an implementation of ATF calling functions

2015-09-07 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium

[U-Boot] [PATCH v5 0/9] Add support for ThunderX 88xx SoC family

2015-09-07 Thread Sergey Temerkhanov
sing - Completed the patchset Sergey Temerkhanov (9): armv8: Add read_mpidr() function armv8: New MMU setup code allowing to use 48+ bits PA/VA armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure armv8: Add psci.h from the Linux kernel arm: serial: Add ability to use p

[U-Boot] [PATCH v5 2/9] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-09-07 Thread Sergey Temerkhanov
execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v5: - Allow setting of different memory attributes in the memory map Changes in v4: - Use ALIGN macro for address

[U-Boot] [PATCH] arm: serial: Add debug UART capability to the pl01x driver

2015-09-08 Thread Sergey Temerkhanov
This patch adds an ability to use pl01x as a debug UART. It must be configured like other types of debug UARTs Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- drivers/serial/Kconfig| 20 drivers/serial/serial_pl01x.c | 28

[U-Boot] [PATCH v2 1/2] arm: serial: Add debug UART capability to the pl01x driver

2015-09-09 Thread Sergey Temerkhanov
This patch adds an ability to use pl01x as a debug UART. It must be configured like other types of debug UARTs Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v2: - Broke down into 2 patches - Minor changes to accomodate Kconfig options drivers

[U-Boot] [PATCH v2 0/2] This series adds an ability to use pl01x for early debug output.

2015-09-09 Thread Sergey Temerkhanov
separate options - Typo fixes Sergey Temerkhanov (2): arm: serial: Add debug UART capability to the pl01x driver arm: serial: Add Kconfig entries to facilitate usage of the pl01x driver for early debug output drivers/serial/Kconfig| 22 ++ drivers/serial

[U-Boot] [PATCH v2 2/2] arm: serial: Add Kconfig entries to facilitate usage of the pl01x driver for early debug output

2015-09-09 Thread Sergey Temerkhanov
This patch adds Kconfig entries to facilitate usage of pl01x as a debug UART. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v2: - Broke down into 2 patches - Made CONFIG_DEBUG_UART_PL010 and CONFIG_DEBUG_UART_PL011 separate options - Typo fixes

[U-Boot] [PATCH v6 1/9] armv8: Add read_mpidr() function

2015-09-25 Thread Sergey Temerkhanov
This patch adds the read_mpidr() function which returns the MPIDR_EL1 register value Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 2/9] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-09-25 Thread Sergey Temerkhanov
execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v6: - Fixed lack of protection in global_data.h Changes in v5: - Allow setting of different memory attributes in the

[U-Boot] [PATCH v6 4/9] armv8: Add psci.h from the Linux kernel

2015-09-25 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v6 3/9] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure

2015-09-25 Thread Sergey Temerkhanov
clobber list is "x0..x17" because of this Signed-off-by: Sergey Temerkhanov Signed-off-by: Corey Minyard Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: - Document FW calls Changes in v3: - Fixed clobber lis

[U-Boot] [PATCH v6 5/9] arm: serial: Add ability to use pre-initialized UARTs

2015-09-25 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v6: - Changed the 'PL0X_PREINITIA

[U-Boot] [PATCH v6 6/9] armv8: cavium: Add the device tree for ThunderX

2015-09-25 Thread Sergey Temerkhanov
This commit adds the FDT for the ThunderX family of SoCs Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v6: - Added /chosen node Changes in v5: - Added FDT for ThunderX 88xx series Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v6 8/9] armv8: cavium: Add an implementation of ATF calling functions

2015-09-25 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile

[U-Boot] [PATCH v6 9/9] armv8: cavium: Get DRAM size from ATF

2015-09-25 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v6: None Changes in v5: - Moved dram_init() from a separate file to thunderx.c Changes in v4: None

[U-Boot] [PATCH v6 7/9] armv8: cavium: Add ThunderX 88xx board definition

2015-09-25 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v6: - Added 'u-boot,skip-init' property to the FDT Changes in v5: - Added CONFIG_OF_CONTROL support - Changed memory

[U-Boot] [PATCH v6 0/9] Add support for ThunderX 88xx SoC family

2015-09-26 Thread Sergey Temerkhanov
ll to the 'reset' label - Rebased to the actual upstream tree - Documented newly added config options - Fixed clobber lists (thanks to Corey) - Added __used keyword - Fixed formatting - Added MAINTAINERS - Moved command definitions to defconfig Changes in v2: - Changed code licensing - Compl

[U-Boot] [RESEND PATCH v2 0/2] This series adds an ability to use pl01x for early debug output.

2015-10-14 Thread Sergey Temerkhanov
separate options - Typo fixes Sergey Temerkhanov (2): arm: serial: Add debug UART capability to the pl01x driver arm: serial: Add Kconfig entries to facilitate usage of the pl01x driver for early debug output drivers/serial/Kconfig| 22 ++ drivers/serial

[U-Boot] [RESEND PATCH v2 1/2] arm: serial: Add debug UART capability to the pl01x driver

2015-10-14 Thread Sergey Temerkhanov
This patch adds an ability to use pl01x as a debug UART. It must be configured like other types of debug UARTs Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Acked-by: Simon Glass --- Changes in v2: - Broke down into 2 patches - Minor changes to accomodate Kconfig

[U-Boot] [RESEND PATCH v2 2/2] arm: serial: Add Kconfig entries to facilitate usage of the pl01x driver for early debug output

2015-10-14 Thread Sergey Temerkhanov
This patch adds Kconfig entries to facilitate usage of pl01x as a debug UART. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Acked-by: Simon Glass --- Changes in v2: - Broke down into 2 patches - Made CONFIG_DEBUG_UART_PL010 and CONFIG_DEBUG_UART_PL011 separate

[U-Boot] [PATCH v7 4/9] armv8: Add psci.h from the Linux kernel

2015-10-14 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None

[U-Boot] [PATCH v7 3/9] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure

2015-10-14 Thread Sergey Temerkhanov
clobber list is "x0..x17" because of this Signed-off-by: Sergey Temerkhanov Signed-off-by: Corey Minyard Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Document FW calls Changes in v

[U-Boot] [PATCH v7 2/9] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-10-14 Thread Sergey Temerkhanov
execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v7: - Removed stale board.c changes Changes in v6: - Fixed lack of protection in global_data.h Changes in v5: - Allow

[U-Boot] [PATCH v7 1/9] armv8: Add read_mpidr() function

2015-10-14 Thread Sergey Temerkhanov
This patch adds the read_mpidr() function which returns the MPIDR_EL1 register value Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v7 5/9] arm: serial: Add ability to use pre-initialized UARTs

2015-10-14 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v7: None Changes in v6: - Changed the

[U-Boot] [PATCH v7 7/9] armv8: cavium: Add ThunderX 88xx board definition

2015-10-14 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v7: - Removed rebase/merge residue - Added CONFIG_CMD_ATF - Updated defconfig - Fixed typo in the 'uboot,skip-init'

[U-Boot] [PATCH v7 8/9] armv8: cavium: Add an implementation of ATF calling functions

2015-10-14 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/cavium

[U-Boot] [PATCH v7 9/9] armv8: cavium: Get DRAM size from ATF

2015-10-14 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v7: None Changes in v6: None Changes in v5: - Moved dram_init() from a separate file to thunderx.c

[U-Boot] [PATCH v7 6/9] armv8: cavium: Add the device tree for ThunderX

2015-10-14 Thread Sergey Temerkhanov
This commit adds the FDT for the ThunderX family of SoCs Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Simon Glass --- Changes in v7: None Changes in v6: - Added /chosen node Changes in v5: - Added FDT for ThunderX 88xx series Changes in v4: None

[U-Boot] [PATCH v7 0/9] Add support for ThunderX 88xx SoC family

2015-10-14 Thread Sergey Temerkhanov
pstream tree - Documented newly added config options - Fixed clobber lists (thanks to Corey) - Added __used keyword - Fixed formatting - Added MAINTAINERS - Moved command definitions to defconfig Changes in v2: - Changed code licensing - Completed the patchset Sergey Temerkhanov (9): armv8: Add r