firmware-utils: bcm4908img: support reading from stdin
authorRafał Miłecki <rafal@milecki.pl>
Sun, 4 Apr 2021 12:53:00 +0000 (14:53 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 5 Apr 2021 07:54:10 +0000 (09:54 +0200)
commitd533b27bc09eb5323a05ed44589235a86edcda0d
tree6b9057be1a4fac8f169da33f505452290b469520
parenta39f85d8b66125f07c4bcbea46b296946de60dc7
firmware-utils: bcm4908img: support reading from stdin

1. Don't allow pipe stdin as we need to fseek()
2. Don't alow TTY as it doesn't make sense for binary input

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
tools/firmware-utils/src/bcm4908img.c