mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
parent
062d85f8fd
commit
ff2689bd48
@ -443,7 +443,7 @@ static int mtk_bmt_init_v2(struct device_node *np)
|
||||
* of whole flash
|
||||
*/
|
||||
bmtd.bbt = NULL;
|
||||
for (u16 block = bmtd.total_blks - 1; !bmtd.bbt && block >= bmtd.pool_lba; block--) {
|
||||
for (block = bmtd.total_blks - 1; !bmtd.bbt && block >= bmtd.pool_lba; block--) {
|
||||
u8 fdm[4];
|
||||
|
||||
if (bbt_nand_read(blk_pg(block), bmtd.bbt_buf, bufsz, fdm, sizeof(fdm))) {
|
||||
|
@ -2,7 +2,7 @@ ARCH:=aarch64
|
||||
SUBTARGET:=filogic
|
||||
BOARDNAME:=Filogic 8x0 (MT798x)
|
||||
CPU_TYPE:=cortex-a53
|
||||
DEFAULT_PACKAGES += fitblk kmod-crypto-hw-safexcel kmod-mt7915e wpad-openssl uboot-envtools
|
||||
DEFAULT_PACKAGES += kmod-crypto-hw-safexcel kmod-mt7915e wpad-openssl uboot-envtools
|
||||
KERNELNAME:=Image dtbs
|
||||
|
||||
define Target/Description
|
||||
|
Loading…
Reference in New Issue
Block a user