uboot下init_sequence_f函数之testdram
来源:互联网 发布:千牛和淘宝助理的区别 编辑:程序博客网 时间:2024/06/05 20:54
testdram: CONFIG_SYS_DRAM_TEST
#if defined(CONFIG_SYS_DRAM_TEST)int testdram(void){ uint *pstart = (uint *) CONFIG_SYS_MEMTEST_START; uint *pend = (uint *) CONFIG_SYS_MEMTEST_END; uint *p;
printf("Testing DRAM from 0x%08x to 0x%08x\n", CONFIG_SYS_MEMTEST_START, CONFIG_SYS_MEMTEST_END);
printf("DRAM test phase 1:\n"); for (p = pstart; p < pend; p++) *p = 0xaaaaaaaa;
for (p = pstart; p < pend; p++) { if (*p != 0xaaaaaaaa) { printf ("DRAM test fails at: %08x\n", (uint) p); return 1; } }
printf("DRAM test phase 2:\n"); for (p = pstart; p < pend; p++) *p = 0x55555555;
for (p = pstart; p < pend; p++) { if (*p != 0x55555555) { printf ("DRAM test fails at: %08x\n", (uint) p); return 1; } }
printf("DRAM test passed.\n"); return 0;}#endif
- uboot下init_sequence_f函数之testdram
- uboot下init_sequence_f函数之init_func_i2c
- uboot下init_sequence_f函数之init_func_spi
- uboot下init_sequence_f函数之announce_dram_init
- uboot下init_sequence_f函数之dram_init
- uboot下init_sequence_f函数之init_func_ram
- uboot下init_sequence_f函数之post_init_f
- uboot下init_sequence_f函数之INIT_FUNC_WATCHDOG_RESET
- uboot下init_sequence_f函数之INIT_FUNC_WATCHDOG_INIT
- uboot下init_sequence_f函数之init_post
- uboot下init_sequence_f函数之setup_dest_addr
- uboot下init_sequence_f函数之reserve_logbuffer
- uboot下init_sequence_f函数之reserve_pram
- uboot下init_sequence_f函数之reserve_round_4k
- uboot下init_sequence_f函数之reserve_mmu
- uboot下init_sequence_f函数之reserve_video
- uboot下init_sequence_f函数之reserve_lcd
- uboot下init_sequence_f函数之reserve_legacy_video
- Java object方法与GC回收
- String字符串的创建方式
- 谷歌公司的C++编码风格
- js校验身份证号码
- linux,扩展根目录(lvm)
- uboot下init_sequence_f函数之testdram
- 虚函数、虚指针和虚表
- CCF 201509-2
- 单页WEB应用(九),终篇-总结和发布
- hibernate @Where注解
- IOS 异常错误积累 swift
- PHP使用SnowFlake算法生成唯一ID
- 数据结构系列之链表——单链表插入值为num的节点
- 理解Spark的核心RDD