u-boot: Reorder and update patches and bootenv fixes

Yocto does not apply patches by name, but instead it applies them
in the order that files are added to the SRC_URI variable.

Therefore move the common patch file to the top in the u-boot.inc file,
followed by the optional patches that are enabled via machine feature.
Update the patches so that they apply on that order.

Fix the loadaddr env variable to convert from an int.
Escape bootargs variables to keep the variable names and not have
them replaced during build time.

Change-Id: I28d469c643d66e4b11225f37c3331e471676aec5
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
3 files changed
tree: 70a5c95e2565ac717fe4b73aaa2539222b821e62
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE