[U-Boot] why does only zynqmp check GD_FLG_ENV_DEFAULT?

Robert P. J. Day rpjday at crashcourse.ca
Wed Sep 7 13:00:50 CEST 2016


  another curiosity, if i might ... notice:

  $ grep -r GD_FLG_ENV_DEFAULT *
  board/xilinx/zynqmp/zynqmp.c:	if (!(gd->flags & GD_FLG_ENV_DEFAULT)) {
  common/env_common.c:	gd->flags |= GD_FLG_ENV_DEFAULT;
  include/asm-generic/global_data.h:#define GD_FLG_ENV_DEFAULT	0x02000 /* Default variable flag */
  $

it seems a bit odd that there is a u-boot-wide global data flag that
is tested by only a single board. what exactly does that flag
represent?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the U-Boot mailing list