Part Number:PROCESSOR-SDK-AM335X
Tool/software: Linux
Hi all,
Our custom board doesn't have NAND and MMC, so I tried to remove NAND and MMC from u-boot. I did make menuconfig under u-boot, and disabled CONFIG_CMD_NAND and CONFIG_DM_NAND, unset CONFIG_CMD_MMC and CONFIG_DM_MMC in u-boot/configs/am335x_evm_defconfig.
But CONFIG_NAND is still defined. I didn't find any place to undef CONFIG_NAND. Also after rebuilt u-boot, the size of it doesn't change, means all related source codes and libs are still compiled into u-boot. If I change the Makefile in u-boot, I will got many error on sources like dfu-nand, xx-mmc etc. How can I completely remove all source codes related to NAND and MMC?
The README files just introduced the features and functions, but don't tell where to enable or disable some features.
Any suggestions are appreciated.