Home
last modified time | relevance | path

Searched refs:dbbt (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/tools/
H A Dmxsboot.c315 struct mx28_nand_dbbt *dbbt; in mx28_nand_get_dbbt() local
317 dbbt = malloc(nand_writesize); in mx28_nand_get_dbbt()
318 if (!dbbt) { in mx28_nand_get_dbbt()
323 memset(dbbt, 0, nand_writesize); in mx28_nand_get_dbbt()
325 dbbt->fingerprint = 0x54424244; in mx28_nand_get_dbbt()
326 dbbt->version = 0x1; in mx28_nand_get_dbbt()
328 return dbbt; in mx28_nand_get_dbbt()
406 static int mx28_nand_write_dbbt(struct mx28_nand_dbbt *dbbt, uint8_t *buf) in mx28_nand_write_dbbt() argument
413 memcpy(buf + offset, dbbt, sizeof(struct mx28_nand_dbbt)); in mx28_nand_write_dbbt()
467 struct mx28_nand_dbbt *dbbt; in mx28_create_nand_image() local
[all …]