Tool/software: Linux
We're using u-boot v2013.07 and Kernel v4.4 on our custom boards and we're planning to upgrade custom boards with NAND flash from 8bit to 16bit. We are wondering if there is any run-time code support to detect whether the device attached is an 8-bit or 16-bit flash part. I've following questions,
- Is there anyway we can detect attached NAND is 8bit vs 16bit in u-boot during runtime without using SYSBOOT options or any external methods?
- If we detect correct flash part in u-boot then, is there way we can tell to kernel to select correct address bus width (and any other required configure options to select between 8bit vs 16bit) through kernel parameters from bootloader?