-
Erik Karlsson authored
Only read FDT into buffer, and then in case of external image, use lseek followed by sendfile if supported or otherwise read/write. Remove unnecessary strdup of option arguments that would leak memory in case options are repeated. Fix confusing error message with --attribute when --image is used to specify a non-existing image.
Erik Karlsson authoredOnly read FDT into buffer, and then in case of external image, use lseek followed by sendfile if supported or otherwise read/write. Remove unnecessary strdup of option arguments that would leak memory in case options are repeated. Fix confusing error message with --attribute when --image is used to specify a non-existing image.