Re: [PATCH 03/16] mtd: nand: hide in-memory BBT implementation details

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 28, 2018 at 10:22:13PM +0100, Ladislav Michl wrote:
> Linux commit b32843b772db adapted for Barebox:

Hmm, there's something fishy with markgood functions (trying different board).
Debugging now...

>   nand_base.c shouldn't have to know the implementation details of
>   nand_bbt's in-memory BBT. Specifically, nand_base shouldn't perform the
>   bit masking and shifting to isolate a BBT entry.
> 
>   Instead, just move some of the BBT code into a new nand_markbad_bbt()
>   interface. This interface allows external users (i.e., nand_base) to
>   mark a single block as bad in the BBT. Then nand_bbt will take care of
>   modifying the in-memory BBT and updating the flash-based BBT (if
>   applicable).

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux