Skip to content
Snippets Groups Projects
  • Simon Glass's avatar
    78398652
    bootm: Tidy up use of autostart env var · 78398652
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    This has different semantics in different places. Go with the bootm method
    and put it in a common function so that the behaviour is consistent in
    U-Boot. Update the docs.
    
    To be clear, this changes the way that 'bootelf' and standalone boot
    work. Before, if autostart was set to "fred" or "YES", for example, they
    would consider that a "yes". This may change behaviour for some boards,
    but the only in-tree boards which mention autostart use "no" to disable
    it, which will still work.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    Suggested-by: default avatarWolfgang Denk <wd@denx.de>
    78398652
    History
    bootm: Tidy up use of autostart env var
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    This has different semantics in different places. Go with the bootm method
    and put it in a common function so that the behaviour is consistent in
    U-Boot. Update the docs.
    
    To be clear, this changes the way that 'bootelf' and standalone boot
    work. Before, if autostart was set to "fred" or "YES", for example, they
    would consider that a "yes". This may change behaviour for some boards,
    but the only in-tree boards which mention autostart use "no" to disable
    it, which will still work.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    Suggested-by: default avatarWolfgang Denk <wd@denx.de>
bootm_os.c 13.41 KiB