Searched hist:"9 d12d5d41d5653ba2f943886f45b8c2eb0f63450" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | command.h | 9d12d5d41d5653ba2f943886f45b8c2eb0f63450 Tue Feb 14 19:59:25 UTC 2012 Simon Glass <sjg@chromium.org> Add cmd_process() to process commands in one place
We currently have the same code in hush.c and main.c. This brings the code into one place.
As an added feature, if the command function returns CMD_RET_USAGE then cmd_process() will print a usage message for the command before returning the standard failure code of 1.
ARM code size increases about 32 bytes with this clean-up.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| /rk3399_rockchip-uboot/common/ |
| H A D | command.c | 9d12d5d41d5653ba2f943886f45b8c2eb0f63450 Tue Feb 14 19:59:25 UTC 2012 Simon Glass <sjg@chromium.org> Add cmd_process() to process commands in one place
We currently have the same code in hush.c and main.c. This brings the code into one place.
As an added feature, if the command function returns CMD_RET_USAGE then cmd_process() will print a usage message for the command before returning the standard failure code of 1.
ARM code size increases about 32 bytes with this clean-up.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| H A D | main.c | 9d12d5d41d5653ba2f943886f45b8c2eb0f63450 Tue Feb 14 19:59:25 UTC 2012 Simon Glass <sjg@chromium.org> Add cmd_process() to process commands in one place
We currently have the same code in hush.c and main.c. This brings the code into one place.
As an added feature, if the command function returns CMD_RET_USAGE then cmd_process() will print a usage message for the command before returning the standard failure code of 1.
ARM code size increases about 32 bytes with this clean-up.
Signed-off-by: Simon Glass <sjg@chromium.org>
|