preboot-override.patch
commitb69daaf8bd03bf3d1b19e3e16d65738cf3463cbd
authormokopatches <unknown@openmoko.org>
Fri, 11 Apr 2008 13:27:01 +0000 (11 14:27 +0100)
committerwarmcat <andy@warmcat.com>
Fri, 11 Apr 2008 13:27:01 +0000 (11 14:27 +0100)
tree04832615d619cf565eb22f7ac2309dfc3575dfa8
parent843aade16aa153438ba628542172d994a9086cb5
preboot-override.patch
Provide a place where the loader can patch the binary, such that it executes a
command string from RAM. We use this for automated installs, where we can thus
use the same u-boot binary for all stages.

include/configs/neo1973.h: new option CFG_PREBOOT_OVERRIDE to allow setting of
  the preboot command in memory
cpu/arm920t/start.S: added variable "preboot_override" at known location
  (_start+0x40)
common/main.c (main_loop): if preboot_override is set, execute the command
  string found there
common/env_common.c (env_relocate):  if preboot_override is set, always use the
  default environment

- Werner Almesberger <werner@openmoko.org>
common/env_common.c
common/main.c
cpu/arm920t/start.S
include/configs/neo1973_gta01.h