
Dear Doug Anderson,
In message 1319063459-4804-2-git-send-email-dianders@chromium.org you wrote:
It appears that there are a handful of places in u-boot that we want to munge the linux command line. This adds some helper functions that make that easier.
Signed-off-by: Doug Anderson dianders@chromium.org
common/Makefile | 1 + common/cmdline.c | 318 +++++++++++++++++++++++++++++++++++++++++++++++++++++ include/cmdline.h | 30 +++++ 3 files changed, 349 insertions(+), 0 deletions(-) create mode 100644 common/cmdline.c create mode 100644 include/cmdline.h
Sorry, but could you please explain why anybody would need this?
Instead of adding tons of code to process one environment variable that happens to be passed to Linux, but otherwise is not different form any of the other variables, you can as well just use plain simple shell scripting capabilities to build your Linux command line from pieces. This is way more flexible and much less resource consuming.
Unless you have a really good explanation why such coude is needed I tend to NAK it.
Best regards,
Wolfgang Denk