summaryrefslogtreecommitdiff
path: root/cmd/cbfs.c
AgeCommit message (Collapse)Author
2016-03-22cbfs: Update a function to be staticSimon Glass
All command functions should be static. Update the CBFS functions to follow this rule. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2016-03-14dm: cbfs: Fix handling of invalid typeSimon Glass
The comment for file_cbfs_type() says that it returns 0 for an invalid type. The code appears to check for -1, except that it uses an unsigned variable to store the type. This results in a warning on 64-bit machines. Adjust it to make the meaning clearer. Continue to handle the -1 case since it may be needed. Signed-off-by: Simon Glass <[email protected]> Tested-by: Stephen Warren <[email protected]>
2016-01-25Remove the cmd_ prefix from command filesSimon Glass
Now that they are in their own directory, we can remove this prefix. This makes it easier to find a file since the prefix does not get in the way. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Acked-by: Stefan Roese <[email protected]> Acked-by: Przemyslaw Marczak <[email protected]>