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.

AM3352: Uboot configuration

Part Number: AM3352

Hi,

Im building an Uboot image for am3352 using Yocto. I use uboot from branch "ti-u-boot-2020.0" commit "2781231a33c3d779e32445f4fe55164c45d6d7c1".

I have a question about defconfig. When "CONFIG_FS_FAT=y" is set, but "CONFIG_FAT_WRITE" is not, Im getting compilation error, "error: redefinition of 'flush_dirty_fat_buffer".

There is flush_dirty_fat_buffer definition in "fat_write.c" file and also if "CONFIG_FAT_WRITE" is not defined there is same definition in "fat.c" file. Because "fat_write.c" includes "fat.c", compilation error occurs.

Is it a bug or maybe enabling "CONFIG_FS_FAT" without "CONFIG_FAT_WRITE" is wrong?