Home
last modified time | relevance | path

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

/trusted-firmware-a/tools/amlogic/
A Ddoimage.c46 int fin, fout, ret = -1; in main() local
62 fout = open(argv[2], O_WRONLY | O_CREAT, 0660); in main()
63 if (fout < 0) { in main()
69 if (fdwrite(fout, (uint8_t *)&data, sizeof(data)) < 0) in main()
72 lseek(fout, 8, SEEK_SET); in main()
74 if (fdwrite(fout, (uint8_t *)&data, sizeof(data)) < 0) in main()
77 lseek(fout, 0x200, SEEK_SET); in main()
79 if (fdwrite(fout, buf, len) < 0) in main()
89 close(fout); in main()

Completed in 4 milliseconds