Merge git://git.denx.de/u-boot-dm
authorTom Rini <trini@konsulko.com>
Thu, 8 Oct 2015 07:03:41 +0000 (03:03 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 8 Oct 2015 07:03:41 +0000 (03:03 -0400)
arch/arm/mach-rockchip/board-spl.c
drivers/serial/Kconfig

index a241d96..28c3949 100644 (file)
@@ -217,6 +217,13 @@ void board_init_f(ulong dummy)
                debug("DRAM init failed: %d\n", ret);
                return;
        }
+
+       /*
+        * Now that DRAM is initialized setup base pointer for simple malloc
+        * into RAM.
+        */
+       gd->malloc_base = CONFIG_SPL_STACK_R_ADDR;
+       gd->malloc_ptr = 0;
 }
 
 static int setup_led(void)
index ccb80d2..ddb725d 100644 (file)
@@ -111,7 +111,7 @@ config DEBUG_UART_SHIFT
 
 config ROCKCHIP_SERIAL
        bool "Rockchip on-chip UART support"
-       depends on ARCH_UNIPHIER && DM_SERIAL
+       depends on ARCH_ROCKCHIP && DM_SERIAL
        help
          Select this to enable a debug UART for Rockchip devices. This uses
          the ns16550 driver. You will need to #define CONFIG_SYS_NS16550 in