mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Current behavior is that if CTRL+C is pressed command returns 0 that was successful which is not correct behavior. The easiest test case is "tftpboot 80000 uImage && echo yes" and press CTRL+C. Then the second command is called which is incorrect. Error log: zynq-uboot> tftpb 80000 uImage && echo yes Gem.e000b000:7 is connected to Gem.e000b000. Reconnecting to Gem.e000b000 Gem.e000b000 Waiting for PHY auto negotiation to complete....... done Using Gem.e000b000 device TFTP from server 192.168.0.102; our IP address is 192.168.0.101 Filename 'uImage'. Load address: 0x80000 Loading: ################ Abort yes zynq-uboot> This patch adds -EINTR return value when CTRL+C is pressed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> |
||
|---|---|---|
| .. | ||
| arp.c | ||
| arp.h | ||
| bootp.c | ||
| bootp.h | ||
| cdp.c | ||
| cdp.h | ||
| checksum.c | ||
| dns.c | ||
| dns.h | ||
| eth.c | ||
| Kconfig | ||
| link_local.c | ||
| link_local.h | ||
| Makefile | ||
| net.c | ||
| net_rand.h | ||
| nfs.c | ||
| nfs.h | ||
| ping.c | ||
| ping.h | ||
| rarp.c | ||
| rarp.h | ||
| sntp.c | ||
| sntp.h | ||
| tftp.c | ||
| tftp.h | ||