1.4 BANKSIZE寄存器配置( 二 )

< 1000; i++)p[i] = 0x55;// read sdramfor (i = 0; i < 1000; i++)if (p[i] != 0x55)return -1;return 0;}
2.3main.c
#include "s3c2440_soc.h"#include "uart.h"#include "init.h"int main(void){uart0_init();sdram_init();if (sdram_test() == 0)led_test();return 0;}