nand max chips

2021-10-01 Thread Steven Seeger
U-boot has an interesting mix of CONFIG_SYS_MAX_NAND_CHIPS and CONFIG_SYS_NAND_MAX_CHIPS. README.nand actually uses both. CONFIG_SYS_NAND_MAX_CHIPS is documented, but CONFIG_SYS_MAX_NAND_CHIPS is used as the example with nand_scan_ident(). There are some drivers that use the wrong one. I would

[U-Boot] pci modify [.l .w .b]

2018-03-18 Thread Steven Seeger
Hi list. If a pci modify command is issued, do_pci() takes the size specifier (.l, .w, .b) and turns it into one of PCI_SIZE_8, PCI_SIZE_16, or PCI_SIZE_32, which correspond to 0, 1, and 2. Consequently, the address increment moves at 0, 1, or 2 bytes. This would be a trivial patch for me to