#include <fdtdec.h>
#include <asm/io.h>
-void lowlevel_init(void)
-{
- for (int *i = (int *) 0x17200000; i < 0x17177000 + 0x177000; i++)
- *i = 0xffff0000;
-}
-
int board_init(void)
{
+ debug_uart_init();
printascii("Reached board_init()\n");
u32 tmp = readl(0xd4015064);
return 0;
}
+int green(void)
+{
+ for (int *i = (int *) 0x17200000; i < 0x17177000 + 0x177000; i++)
+ *i = 0xff00ff00;
+
+ return 0;
+}
+
+int blue(void)
+{
+ for (int *i = (int *) 0x17200000; i < 0x17177000 + 0x177000; i++)
+ *i = 0xff0000ff;
+
+ return 0;
+}
+
static const init_fnc_t init_sequence_f[] = {
setup_mon_len,
#ifdef CONFIG_OF_CONTROL
#endif
env_init, /* initialize environment */
init_baud_rate, /* initialze baudrate settings */
+ green,
serial_init, /* serial communications setup */
+ blue,
console_init_f, /* stage 1 init of console */
display_options, /* say that we are here */
display_text_info, /* show debugging info if required */
{
struct board_f boardf;
- for (int *i = (int *) 0x17200000; i < 0x17177000 + 0x177000; i++)
- *i = 0xff00ff00;
-
gd->flags = boot_flags;
gd->flags &= ~GD_FLG_HAVE_CONSOLE;
gd->boardf = &boardf;
CONFIG_ARM=y
+CONFIG_SKIP_LOWLEVEL_INIT=y
CONFIG_COUNTER_FREQUENCY=26000000
CONFIG_DRIVER_GICV2=y
CONFIG_ARCH_CPU_INIT=y
CONFIG_ARCH_MMP=y
-CONFIG_TEXT_BASE=0x1010000
+CONFIG_TEXT_BASE=0x1000000
CONFIG_NR_DRAM_BANKS=2
CONFIG_DEFAULT_DEVICE_TREE="pxa1908-samsung-coreprimevelte"
CONFIG_TARGET_COREPRIMEVELTE=y
CONFIG_CLK=y
CONFIG_CPU=y
CONFIG_CPU_ARMV8=y
+CONFIG_SERIAL_SEARCH_ALL=y
CONFIG_DEBUG_UART_SHIFT=2
CONFIG_DEBUG_UART_ANNOUNCE=y
CONFIG_DEBUG_UART_SKIP_INIT=y
CONFIG_SYS_NS16550=y
+CONFIG_NS16550_DYNAMIC=y
CONFIG_SYS_NS16550_MEM32=y
CONFIG_MBEDTLS_LIB=y
# CONFIG_TOOLS_MKEFICAPSULE is not set