uboot下init_sequence_f函数之reserve_video
来源:互联网 发布:java二次开发有前途么 编辑:程序博客网 时间:2024/06/01 07:55
reserve_video:
#ifdef CONFIG_DM_VIDEOstatic int reserve_video(void){ ulong addr; int ret;
addr = gd->relocaddr; ret = video_reserve(&addr); if (ret) return ret; gd->relocaddr = addr;
return 0;}#else
# ifdef CONFIG_LCDstatic int reserve_lcd(void){# ifdef CONFIG_FB_ADDR gd->fb_base = CONFIG_FB_ADDR;# else /* reserve memory for LCD display (always full pages) */ gd->relocaddr = lcd_setmem(gd->relocaddr); gd->fb_base = gd->relocaddr;# endif /* CONFIG_FB_ADDR */
return 0;}# endif /* CONFIG_LCD */
# if defined(CONFIG_VIDEO) && (!defined(CONFIG_PPC) || defined(CONFIG_8xx)) && \ !defined(CONFIG_ARM) && !defined(CONFIG_X86) && \ !defined(CONFIG_BLACKFIN) && !defined(CONFIG_M68K)static int reserve_legacy_video(void){ /* reserve memory for video display (always full pages) */ gd->relocaddr = video_setmem(gd->relocaddr); gd->fb_base = gd->relocaddr;
return 0;}# endif#endif /* !CONFIG_DM_VIDEO */
- uboot下init_sequence_f函数之reserve_video
- 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函数之testdram
- 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_lcd
- uboot下init_sequence_f函数之reserve_legacy_video
- 单链表和双向循环链表的创建、初始化、以插入(二)
- Git 常用命令
- Zookeeper
- StringBuffer/StringBuilder类
- StringBuffer和StringBuilder源码解析(三)-- indexOf()方法
- uboot下init_sequence_f函数之reserve_video
- 关于利用注解,自动装配搭建s2sm框架的整合
- 数据结构系列之链表——双链表删除
- 总体性能——渲染模块性能
- js瀑布流
- 相关 论文&博客收藏-计算机系统
- 题目1023:EXCEL排序
- js函数作为值传递及sort()用法
- 快捷键的使用