From b32ba6f12e4584b85c55c89000b0ef3fd98473f5 Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Tue, 22 Jan 2019 17:09:25 -0500
Subject: [PATCH] rockchip: Add TPL_MAX_SIZE for RK3288

Per Kever Yang, 32768 is a reasonable max size for TPL on RK3288.

Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
---
 arch/arm/mach-rockchip/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 6dc8e3a017..b0082416b0 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -81,6 +81,9 @@ config TPL_LDSCRIPT
 config TPL_TEXT_BASE
 	default 0xff704000
 
+config TPL_MAX_SIZE
+	default 32768
+
 endif
 
 config ROCKCHIP_RK3328
-- 
2.39.5