1. 27 4月, 2019 30 次提交
  2. 26 4月, 2019 10 次提交
    • S
      arm: kirkwood: openrd: Mark openrd boards as maintained again · b684d403
      Stefan Roese 提交于
      With the latest size increase of the openrd boards, they all compile
      clean again. Let's mark them as maintained again and add the Travis
      job.
      
      Please note that I can only compile-test these targets as I don't
      have access to one of those boards.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Albert ARIBAUD <albert-u-boot@aribaud.net>
      Cc: Vagrant Cascadian <vagrant@debian.org>
      Cc: Chris Packham <judge.packham@gmail.com>
      Cc: Tom Rini <trini@konsulko.com>
      b684d403
    • S
      watchdog: at91sam9_wdt: Remove now superfluous wdt start and reset · c2ff69a4
      Stefan Roese 提交于
      With the new generic function, the scattered other functions are now
      removed to be replaced by the generic one. The new version also enables
      the configuration of the watchdog timeout via the DT "timeout-sec"
      property (if enabled via CONFIG_OF_CONTROL).
      
      The watchdog servicing is enabled via CONFIG_WATCHDOG.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      c2ff69a4
    • S
      watchdog: mpc8xx_wdt: Watchdog driver and macros cleanup · f3729ba6
      Stefan Roese 提交于
      With the generic watchdog driver now implemented, this patch removes
      some legacy stuff from the MPC8xx watchdog driver and its Kconfig
      integration. CONFIG_MPC8xx_WATCHDOG is completely removed and
      hw_watchdog_reset() is made static, as the watchdog will now get
      serviced via the DM infrastructure if enabled via CONFIG_WATCHDOG.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Christophe Leroy <christophe.leroy@c-s.fr>
      f3729ba6
    • S
      watchdog: cadence: Remove driver specific "timeout-sec" handling · 782ef57e
      Stefan Roese 提交于
      Now that we have a generic DT property "timeout-sec" handling, the
      driver specific implementation can be dropped.
      
      This patch also changes the timeout restriction to the min and max
      values (clipping). Before this patch, the value provided via
      "timeout-sec" was used if the parameter was too high or low. Now
      the driver specific min and max values are used instead.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Reviewed-by: NMichal Simek <michal.simek@xilinx.com>
      Tested-by: Michal Simek <michal.simek@xilinx.com> (on zcu100)
      782ef57e
    • S
      watchdog: Implement generic watchdog_reset() version · 06985289
      Stefan Roese 提交于
      This patch tries to implement a generic watchdog_reset() function that
      can be used by all boards that want to service the watchdog device in
      U-Boot. This watchdog servicing is enabled via CONFIG_WATCHDOG.
      
      Without this approach, new boards or platforms needed to implement a
      board specific version of this functionality, mostly copy'ing the same
      code over and over again into their board or platforms code base.
      
      With this new generic function, the scattered other functions are now
      removed to be replaced by the generic one. The new version also enables
      the configuration of the watchdog timeout via the DT "timeout-sec"
      property (if enabled via CONFIG_OF_CONTROL).
      
      This patch also adds a new flag to the GD flags, to flag that the
      watchdog is ready to use and adds the pointer to the watchdog device
      to the GD. This enables us to remove the global "watchdog_dev"
      variable, which was prone to cause problems because of its potentially
      very early use in watchdog_reset(), even before the BSS is cleared.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Cc: "Marek Behún" <marek.behun@nic.cz>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Maxim Sloyko <maxims@google.com>
      Cc: Erik van Luijk <evanluijk@interact.nl>
      Cc: Ryder Lee <ryder.lee@mediatek.com>
      Cc: Weijie Gao <weijie.gao@mediatek.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: "Álvaro Fernández Rojas" <noltari@gmail.com>
      Cc: Philippe Reynes <philippe.reynes@softathome.com>
      Cc: Christophe Leroy <christophe.leroy@c-s.fr>
      Reviewed-by: NMichal Simek <michal.simek@xilinx.com>
      Tested-by: Michal Simek <michal.simek@xilinx.com> (on zcu100)
      06985289
    • S
      arm: mvebu: turris_omnia: Use thumb instructions in SPL to save space · 5edb9b2d
      Stefan Roese 提交于
      With the latest changes to the drivers (SPI_FLASH_SPANSION etc), Travis
      reports that the SPL image is too big. Let's use the thumb instructions
      in SPL to save some space and make the image fit again.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Baruch Siach <baruch@tkos.co.il>
      Cc: Marek Behun <marek.behun@nic.cz>
      Reviewed-by: NMarek Behún <marek.behun@nic.cz>
      5edb9b2d
    • C
      ARM: kirkwood: enable CONFIG_DM_USB on db-88f6281-bp · e4318aed
      Chris Packham 提交于
      Switch to the driver model for USB on the db-88f6281-bp board.
      CONFIG_BLK can't be enabled yet because mvebu_mmc.c needs converting.
      Signed-off-by: NChris Packham <judge.packham@gmail.com>
      Reviewed-by: NStefan Roese <sr@denx.de>
      Signed-off-by: NStefan Roese <sr@denx.de>
      e4318aed
    • C
      ARM: kirkwood: add db-88f6281-bp board · d55254ab
      Chris Packham 提交于
      This is Marvell's Kirkwood development board. It has the following
      features
      
       - 512M DDR2
       - 2 PCI connectors
       - 1 x1 PCI-e interface
       - 1 Gigabit Ethernet Port
       - 2 SATA Ports
       - USB 2.0 Interface
       - SDIO
       - 128M NAND Flash
       - 16M SPI Flash
      
      It can be strapped to boot from SPI or NAND so there are two defconfigs
      (one per boot media).
      Signed-off-by: NChris Packham <judge.packham@gmail.com>
      Signed-off-by: NStefan Roese <sr@denx.de>
      d55254ab
    • M
      arm: kirkwood: lsxl: add note about sata in README · 30387ee2
      Michael Walle 提交于
      The boot commands have changed in the environment. Add a note about the
      incompatible change and how resolve the issue in the board's README.
      Signed-off-by: NMichael Walle <michael@walle.cc>
      Reviewed-by: NStefan Roese <sr@denx.de>
      Signed-off-by: NStefan Roese <sr@denx.de>
      30387ee2
    • S
      arm: kirkwood: openrd: Increase U-Boot size in flash to make it fit · 5039aae3
      Stefan Roese 提交于
      We have run now multiple times into size issues with the openrd
      board port. To finally fix this, this patch now moves the U-Boot size
      from 0x6.0000 to 0x8.0000, giving enough space for the next time.
      
      This also changes the environment location and potentially the
      MTD partitioning, but I see no better fix for now. Especially since
      this board does not have an active maintainer.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Chris Packham <judge.packham@gmail.com>
      Reviewed-by: NChris Packham <judge.packham@gmail.com>
      Signed-off-by: NStefan Roese <sr@denx.de>
      5039aae3