summaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-12-02 21:00:22 -0600
committerJoe Hershberger <joe.hershberger@ni.com>2013-06-24 19:07:33 -0500
commit500f304b6bb8eeb369087a91da2f58a28bf04941 (patch)
tree54d84d14671f62d1778b461634579ddbfcced4fc /common/command.c
parent23b7194e61997910854f6566c9cad9ea75191f60 (diff)
downloadu-boot-imx-500f304b6bb8eeb369087a91da2f58a28bf04941.zip
u-boot-imx-500f304b6bb8eeb369087a91da2f58a28bf04941.tar.gz
u-boot-imx-500f304b6bb8eeb369087a91da2f58a28bf04941.tar.bz2
pxe: fix handling of different localboot values
Add support for value of -1 For localboot. A value of -1 means return to u-boot prompt. The localboot value is often 0, so we need to distinguish the value from localboot being selected. A value of greater than or equal to 0 means attempt local boot command. If localboot is selected, we don't want to try other entries. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'common/command.c')
0 files changed, 0 insertions, 0 deletions