1. 27 4月, 2019 34 次提交
  2. 26 4月, 2019 6 次提交
    • 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