aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-rmobile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rmobile')
-rw-r--r--arch/arm/mach-rmobile/Kconfig.6424
-rw-r--r--arch/arm/mach-rmobile/lowlevel_init_gen3.S15
2 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64
index b2ac1cdad7..27d29f797f 100644
--- a/arch/arm/mach-rmobile/Kconfig.64
+++ b/arch/arm/mach-rmobile/Kconfig.64
@@ -12,6 +12,11 @@ config R8A7796
imply CLK_R8A7796
imply PINCTRL_PFC_R8A7796
+config R8A77965
+ bool "Renesas SoC R8A77965"
+ imply CLK_R8A77965
+ imply PINCTRL_PFC_R8A77965
+
config R8A77970
bool "Renesas SoC R8A77970"
imply CLK_R8A77970
@@ -55,6 +60,10 @@ config TARGET_SALVATOR_X
bool "Salvator-X board"
imply R8A7795
imply R8A7796
+ imply R8A77965
+ imply SYS_MALLOC_F
+ imply MULTI_DTB_FIT
+ imply MULTI_DTB_FIT_USER_DEFINED_AREA
help
Support for Renesas R-Car Gen3 platform
@@ -62,6 +71,10 @@ config TARGET_ULCB
bool "ULCB board"
imply R8A7795
imply R8A7796
+ imply R8A77965
+ imply SYS_MALLOC_F
+ imply MULTI_DTB_FIT
+ imply MULTI_DTB_FIT_USER_DEFINED_AREA
help
Support for Renesas R-Car Gen3 ULCB platform
@@ -76,4 +89,15 @@ source "board/renesas/ebisu/Kconfig"
source "board/renesas/salvator-x/Kconfig"
source "board/renesas/ulcb/Kconfig"
+config MULTI_DTB_FIT_UNCOMPRESS_SZ
+ default 0x80000 if TARGET_SALVATOR_X
+ default 0x80000 if TARGET_ULCB
+
+config MULTI_DTB_FIT_USER_DEF_ADDR
+ default 0x49000000 if TARGET_SALVATOR_X
+ default 0x49000000 if TARGET_ULCB
+
+config SYS_MALLOC_F_LEN
+ default 0x8000 if RCAR_GEN3
+
endif
diff --git a/arch/arm/mach-rmobile/lowlevel_init_gen3.S b/arch/arm/mach-rmobile/lowlevel_init_gen3.S
index f42b53fd88..213ec143e2 100644
--- a/arch/arm/mach-rmobile/lowlevel_init_gen3.S
+++ b/arch/arm/mach-rmobile/lowlevel_init_gen3.S
@@ -16,6 +16,21 @@
#include <linux/linkage.h>
#include <asm/macro.h>
+.align 8
+.globl rcar_atf_boot_args
+rcar_atf_boot_args:
+ .dword 0
+ .dword 0
+ .dword 0
+ .dword 0
+
+ENTRY(save_boot_params)
+ adr x8, rcar_atf_boot_args
+ stp x0, x1, [x8], #16
+ stp x2, x3, [x8], #16
+ b save_boot_params_ret
+ENDPROC(save_boot_params)
+
ENTRY(lowlevel_init)
mov x29, lr /* Save LR */