您的位置:首页 > 其它

UU-boot和kernel的传参

2015-09-28 17:31 267 查看
bd_info
```u-boot.h

typedefstruct bd_info {


int bi_baudrate;/* serial console baudrate */


unsignedlong bi_ip_addr;/* IP Address */


struct environment_s *bi_env;


ulong bi_arch_number;/* unique id for this board */


ulong bi_boot_params;/* where this board expects params */


struct/* RAM configuration */


{


ulong start;


ulong size;


} bi_dram[CONFIG_NR_DRAM_BANKS];


}bd_t;




#define bi_env_data bi_env->data


#define bi_env_crc bi_env->crc


```
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: