]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/rk3288_common.h
rockchip: add timer driver
[people/ms/u-boot.git] / include / configs / rk3288_common.h
index 4f30fcef37baa47cbdaa2efed13ab3d6900a26c8..af62227793f489db878861c28469ec0caae47b69 100644 (file)
@@ -11,7 +11,6 @@
 
 #define CONFIG_SYS_NO_FLASH
 #define CONFIG_NR_DRAM_BANKS           1
-#define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE                        0x2000
 #define CONFIG_SYS_MAXARGS             16
 #define CONFIG_BAUDRATE                        115200
@@ -23,7 +22,8 @@
 #define CONFIG_DISPLAY_BOARDINFO
 
 #define CONFIG_SYS_TIMER_RATE          (24 * 1000 * 1000)
-#define CONFIG_SYS_TIMER_COUNTER       (TIMER7_BASE + 8)
+#define        CONFIG_SYS_TIMER_BASE           0xff810020 /* TIMER7 */
+#define CONFIG_SYS_TIMER_COUNTER       (CONFIG_SYS_TIMER_BASE + 8)
 
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
  * limit the fdt reallocation to that */
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "fdt_high=0x1fffffff\0" \
+       "initrd_high=0x1fffffff\0" \
        ENV_MEM_LAYOUT_SETTINGS \
        BOOTENV
 #endif