
On Mon, Feb 27, 2017 at 06:22:15PM +0100, Maxime Ripard wrote:
The CHIP Pro is a SoM that features the GR8 SIP, an AXP209, a BT/WiFi chip and a 512MiB SLC NAND.
This it's an SLC NAND, it doesn't suffer the same drawbacks than found on the MLC NANDs, and we can enable it right away.
Signed-off-by: Maxime Ripard maxime.ripard@free-electrons.com Reviewed-by: Hans de Goede hdegoede@redhat.com
configs/CHIP_pro_defconfig | 33 +++++++++++++++++++++++++++++++++
[snip]
+CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,SYS_NAND_BLOCK_SIZE=0x40000,SYS_NAND_PAGE_SIZE=4096,SYS_NAND_OOBSIZE=256"
Conversion itself won't be fun (I can see it'll take some regex'ing before hand to convert various values to a number) but can you please add Kconfig entires for SYS_NAND_xxx values and populate those for this baord instead of adding more SYS_EXTRA_OPTIONS? Thanks!