1. 21 11月, 2014 1 次提交
    • S
      fdt: Allow ft_board_setup() to report failure · e895a4b0
      Simon Glass 提交于
      This function can fail if the device tree runs out of space. Rather than
      silently booting with an incomplete device tree, allow the failure to be
      detected.
      
      Unfortunately this involves changing a lot of places in the code. I have
      not changed behvaiour to return an error where one is not currently
      returned, to avoid unexpected breakage.
      
      Eventually it would be nice to allow boards to register functions to be
      called to update the device tree. This would avoid all the many functions
      to do this. However it's not clear yet if this should be done using driver
      model or with a linker list. This work is left for later.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NAnatolij Gustschin <agust@denx.de>
      e895a4b0
  2. 21 8月, 2013 1 次提交
  3. 24 7月, 2013 1 次提交
  4. 13 5月, 2011 1 次提交
    • W
      Fix incorrect use of getenv() before relocation · f0c0b3a9
      Wolfgang Denk 提交于
      A large number of boards incorrectly used getenv() in their board init
      code running before relocation.  In some cases this caused U-Boot to
      hang when certain environment variables grew too long.
      Fix the code to use getenv_r().
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: The LEOX team <team@leox.org>
      Cc: Michael Schwingen <michael@schwingen.org>
      Cc: Georg Schardt <schardt@team-ctech.de>
      Cc: Werner Pfister <Pfister_Werner@intercontrol.de>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: Peter De Schrijver <p2@mind.be>
      Cc: John Zhan <zhanz@sinovee.com>
      Cc: Rishi Bhattacharya <rishi@ti.com>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      f0c0b3a9
  5. 16 7月, 2010 1 次提交
    • B
      83xx/85xx/86xx: LBC register cleanup · f51cdaf1
      Becky Bruce 提交于
      Currently, 83xx, 86xx, and 85xx have a lot of duplicated code
      dedicated to defining and manipulating the LBC registers.  Merge
      this into a single spot.
      
      To do this, we have to decide on a common name for the data structure
      that holds the lbc registers - it will now be known as fsl_lbc_t, and we
      adopt a common name for the immap layouts that include the lbc - this was
      previously known as either im_lbc or lbus; use the former.
      
      In addition, create accessors for the BR/OR regs that use in/out_be32
      and use those instead of the mismash of access methods currently in play.
      
      I have done a successful ppc build all and tested a board or two from
      each processor family.
      Signed-off-by: NBecky Bruce <beckyb@kernel.crashing.org>
      Acked-by: NKim Phillips <kim.phillips@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      f51cdaf1
  6. 31 10月, 2009 1 次提交
    • W
      video: mb862xx: improve board-specific Lime configuration · c28d3bbe
      Wolfgang Grandegger 提交于
      To avoid board-specific code accessing the mb862xx registers directly,
      the public function mb862xx_probe() has been introduced. Furthermore,
      the "Change of Clock Frequency" and "Set Memory I/F Mode" registers
      are now defined by CONFIG_SYS_MB862xx_CCF and CONFIG_SYS_MB862xx__MMR,
      respectively. The BSPs for the socrates and lwmon5 boards have been
      adapted accordingly.
      Signed-off-by: NWolfgang Grandegger <wg@denx.de>
      c28d3bbe
  7. 04 6月, 2009 1 次提交
    • W
      Redundant Environment: protect full sector size · dfcd7f21
      Wolfgang Denk 提交于
      Several boards used different ways to specify the size of the
      protected area when enabling flash write protection for the sectors
      holding the environment variables: some used CONFIG_ENV_SIZE and
      CONFIG_ENV_SIZE_REDUND, some used CONFIG_ENV_SECT_SIZE, and some even
      a mix of both for the "normal" and the "redundant" areas.
      
      Normally, this makes no difference at all. However, things are
      different when you have to deal with boards that can come with
      different types of flash chips, which may have different sector
      sizes.
      
      Here we may have to chose CONFIG_ENV_SECT_SIZE such that it fits the
      biggest sector size, which may include several sectors on boards using
      the smaller sector flash types. In such a case, using CONFIG_ENV_SIZE
      or CONFIG_ENV_SIZE_REDUND to enable the protection may lead to the
      case that only the first of these sectors get protected, while the
      following ones aren't.
      
      This is no real problem, but it can be confusing for the user -
      especially on boards that use CONFIG_ENV_SECT_SIZE to protect the
      "normal" areas, while using CONFIG_ENV_SIZE_REDUND for the
      "redundant" area.
      
      To avoid such inconsistencies, I changed all sucn boards that I found
      to consistently use CONFIG_ENV_SECT_SIZE for protection. This should
      not cause any functional changes to the code.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Paul Ruhland
      Cc: Pantelis Antoniou <panto@intracom.gr>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Gary Jennejohn <garyj@denx.de>
      Cc: Dave Ellis <DGE@sixnetio.com>
      Acked-by: NStefan Roese <sr@denx.de>
      dfcd7f21
  8. 20 12月, 2008 1 次提交
  9. 19 10月, 2008 1 次提交
  10. 13 9月, 2008 1 次提交
  11. 11 9月, 2008 1 次提交
  12. 09 9月, 2008 4 次提交
  13. 11 6月, 2008 3 次提交
  14. 04 6月, 2008 1 次提交
  15. 27 5月, 2008 1 次提交
  16. 21 5月, 2008 2 次提交