#define S5PC210_UART_BASE 0x13800000
#define S5PC210_ADC_BASE 0x13910000
#define S5PC210_PWMTIMER_BASE 0x139D0000
+#define S5PC210_MODEM_BASE 0x13A00000
#ifndef __ASSEMBLY__
#include <asm/io.h>
SAMSUNG_BASE(gpio_part3, GPIO_PART3_BASE)
SAMSUNG_BASE(pro_id, PRO_ID)
SAMSUNG_BASE(mmc, MMC_BASE)
+SAMSUNG_BASE(modem, MODEM_BASE)
SAMSUNG_BASE(sromc, SROMC_BASE)
SAMSUNG_BASE(timer, PWMTIMER_BASE)
SAMSUNG_BASE(uart, UART_BASE)
#include <asm/arch/mmc.h>
#include <asm/arch/power.h>
#include <asm/arch/clk.h>
+#include <ramoops.h>
DECLARE_GLOBAL_DATA_PTR;
}
}
+#ifdef CONFIG_RAMOOPS
+static void show_dump_msg(void)
+{
+ int status = get_reset_status();
+ int ret;
+
+ if (status != SWRESET)
+ return;
+
+ ret = ramoops_show_msg(samsung_get_base_modem());
+
+ if (!ret)
+ setenv("bootdelay", "-1");
+}
+#endif
+
#ifdef CONFIG_MISC_INIT_R
int misc_init_r(void)
{
check_reset_status();
+#ifdef CONFIG_RAMOOPS
+ show_dump_msg();
+#endif
check_auto_burn();
check_hw_revision();
#define CONFIG_SYS_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000)
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SP_ADDR - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_RAMOOPS
+
#define CONFIG_TEST_BOOTTIME
#define CONFIG_TEST_BOOTFAIL