版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
在<u-boot>/include/common.h 文件中有以下几行代码
#ifdef DEBUG
#define _DEBUG 1
#else
#define _DEBUG 0
#endif
如果需要查看u-boot debug信息,只需要在这段代码前加上
#define DEBUG
在<u-boot>/include/common.h 文件中有以下几行代码
#ifdef DEBUG
#define _DEBUG 1
#else
#define _DEBUG 0
#endif
如果需要查看u-boot debug信息,只需要在这段代码前加上
#define DEBUG