rockchip: lion-rk3368: defconfig: enable DM timer for all stages
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 28 Jul 2017 16:00:27 +0000 (18:00 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:36 +0000 (17:12 +0200)
There is no reasonably robust way (this will be needed so early that
diagnostics will be limited) to specify the base-address of the secure
timer through the DTS for TPL and SPL.  In order to allow us a cleaner
way to structure our SPL and TPL stage, we now move to a DM timer
driver.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/theobroma-systems/lion_rk3368/fit_spl_atf.its
configs/lion-rk3368_defconfig

index e7d98b9f35ec49656fa68aac720d8ab2efcf337f..405750f3517b5588428626a9b136044b736d3868 100644 (file)
@@ -45,7 +45,7 @@
                        description = "Theobroma Systems RK3368-uQ7 (Puma) SoM";
                        firmware = "uboot";
                        loadables = "atf";
-                       fdt = "fdt";
+                       fdt = "fdt";
                };
        };
 };
index 92058b3d2b575184974549bca6e6f61a5d6a1518..f37bac188b56486f7c3cae85f37787a30fd1701a 100644 (file)
@@ -85,6 +85,10 @@ CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_ROCKCHIP_SPI=y
 CONFIG_SYSRESET=y
+CONFIG_TIMER=y
+CONFIG_SPL_TIMER=y
+CONFIG_TPL_TIMER=y
+CONFIG_ROCKCHIP_TIMER=y
 CONFIG_USE_TINY_PRINTF=y
 CONFIG_SPL_TINY_MEMSET=y
 CONFIG_LZO=y