/* * */ #include #include #include .section ".text_bare_init.reset","ax" .globl reset reset: common_reset r0 bl s3c24x0_disable_wd /* skip everything here if we are already running from SDRAM */ cmp pc, #S3C_SDRAM_BASE blo 1f cmp pc, #S3C_SDRAM_END bhs 1f b board_init_lowlevel_return /* we are running from NOR or NAND/SRAM memory. Do further initialisation */ 1: bl s3c24x0_pll_init bl s3c24x0_sdram_init #ifdef CONFIG_S3C_NAND_BOOT /* up to here we are running from the internal SRAM area */ bl s3c24x0_nand_boot #endif b board_init_lowlevel_return