This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 uboot添加NOR FLASH支持



您好:

我们现在做一款产品,不用nand flash直接用nor flash(16M)。

目前UBL已经移植上去,现在需要修改uboot

processors.wiki.ti.com/.../NOR_Flash_support_on_DM365

我根据上述文档修改之后,编译通不过

nand.c:1: warning: target CPU does not support interworking
nand.c:32: error: ‘CFG_MAX_NAND_DEVICE’ undeclared here (not in a function)
nand.c:35: error: ‘CFG_NAND_BASE’ undeclared here (not in a function)
make[1]: *** [nand.o] Error 1
make[1]: Leaving directory `/home/mxl/u-boot/365/u-boot-nor/drivers/mtd/nand'
make: *** [drivers/mtd/nand/libnand.a] Error 2

nand.c报错,为什么还会去编译nand的东西呢?

我应该怎么修改才能是其正常工作呢?

我们用的16bit的nor flash