1. 09 4月, 2019 9 次提交
    • S
      arm: at91: Add gardena-gateway-at91sam support · a71e2f93
      Stefan Roese 提交于
      The GARDENA smart Gateway boards are equipped with an Atmel / Microchip
      AT91SAM9G25 SoC and with 128 MiB of RAM and 256 MiB of NAND storage.
      This patch adds support for this board including SPL support. Therefore
      the AT91Boostrap is not needed on this platform any more.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Andreas Bießmann <andreas@biessmann.org>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      a71e2f93
    • S
      arm: at91: at91sam9x5.dtsi: Add watchdog handle · d4c8873f
      Stefan Roese 提交于
      This makes it possible to reference the watchdog DT node via "&watchdog"
      from board dts files.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Andreas Bießmann <andreas@biessmann.org>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      d4c8873f
    • S
      arm: at91: arm926ejs/u-boot-spl.lds: Add _image_binary_end to SPL lds · da8a7712
      Stefan Roese 提交于
      This patch adds _image_binary_end to the SPL linker script. This will be
      used be the upcoming GARDENA AT91SAM based platform, which uses DT in
      SPL and configures CONFIGURE_SPL_SEPARATE_BSS.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Andreas Bießmann <andreas@biessmann.org>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      da8a7712
    • S
      arm: at91: Enable watchdog support · 256c2ff0
      Stefan Roese 提交于
      This patch enables and starts the watchdog on the AT91 platform if
      configured. The WD timeout value is read in the AT91 WD device driver
      from the DT, using the "timeout-sec" DT property. If not provided in
      the DT, the default value of 2 seconds is used.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Andreas Bießmann <andreas@biessmann.org>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      256c2ff0
    • S
      arm: at91: spl_at91.c: Call spl_early_init() if OF_CONTROL is enabled · ce4d04af
      Stefan Roese 提交于
      This patch adds a call to spl_early_init() to board_init_f() which is
      needed when CONFIG_SPL_OF_CONTROL is configured. This is necessary for
      the early SPL setup including the DTB setup for later usage.
      
      Please note that this call might also be needed for non SPL_OF_CONTROL
      board, like the smartweb target. But smartweb fails to build with this
      call because its binary grows too big. So I disabled it for these kind
      of targets for now.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Andreas Bießmann <andreas@biessmann.org>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      Tested on the taurus board:
      Tested-by: NHeiko Schocher <hs@denx.de>
      ce4d04af
    • S
      arm: at91: Makefile: Compile lowlevel_init only when really necessary · e6a27693
      Stefan Roese 提交于
      Make sure that lowlevel_init is not compiled when
      CONFIG_SKIP_LOWLEVEL_INIT_ONLY is configured.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Andreas Bießmann <andreas@biessmann.org>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      Tested on the taurus board:
      Tested-by: NHeiko Schocher <hs@denx.de>
      e6a27693
    • I
      board: pm9g45: Migrate to CONFIG_DM · d9bd4290
      Ilko Iliev 提交于
      Migrate the following options to CONFIG_DM:
        CONFIG_DM_GPIO
        CONFIG_DM_MMC
        CONFIG_DM_ETH
        CONFIG_DM_SERIAL
        CONFIG_DM_USB
      Signed-off-by: NIlko Iliev <iliev@ronetix.at>
      d9bd4290
    • A
      ARM: at91: sama5d2: Wrap cpu detection to fix macb driver · 7dee1848
      Alexander Dahl 提交于
      When introducing the SAMA5D27 SoCs, the SAMA5D2 series got an additional
      chip id. The check if the cpu is sama5d2 was changed from a preprocessor
      definition (inlining a call to 'get_chip_id()') to a C function,
      probably to not call get_chip_id twice?
      
      That however broke a check in the macb ethernet driver. That driver is
      more generic and also used for other platforms. I suppose this solution
      was implemented to use it in 'gem_is_gigabit_capable()', without having
      to stricly depend on the at91 platform:
      
      	#ifndef cpu_is_sama5d2
      	#define cpu_is_sama5d2() 0
      	#endif
      
      That only works as long as cpu_is_sama5d2 is a preprocessor definition.
      (The same is still true for sama5d4 by the way.) So this is a straight
      forward fix for the workaround.
      
      The not working check on the SAMA5D2 CPU lead to an issue on a custom
      board with a LAN8720A ethernet phy connected to the SoC:
      
      	=> dhcp
      	ethernet@f8008000: PHY present at 1
      	ethernet@f8008000: Starting autonegotiation...
      	ethernet@f8008000: Autonegotiation complete
      	ethernet@f8008000: link up, 1000Mbps full-duplex (lpa: 0xffff)
      	BOOTP broadcast 1
      	BOOTP broadcast 2
      	BOOTP broadcast 3
      	BOOTP broadcast 4
      	BOOTP broadcast 5
      	BOOTP broadcast 6
      	BOOTP broadcast 7
      	BOOTP broadcast 8
      	BOOTP broadcast 9
      	BOOTP broadcast 10
      	BOOTP broadcast 11
      	BOOTP broadcast 12
      	BOOTP broadcast 13
      	BOOTP broadcast 14
      	BOOTP broadcast 15
      	BOOTP broadcast 16
      	BOOTP broadcast 17
      
      	Retry time exceeded; starting again
      
      Notice the wrong reported link speed, although both SoC and phy only
      support 100 MBit/s!
      
      The real issue on reliably detecting the features of that cadence
      ethernet mac IP block, is probably more complicated, though.
      
      Fixes: 245cbc58 ("ARM: at91: Get the Chip ID of SAMA5D2 SiP")
      Signed-off-by: NAlexander Dahl <ada@thorsis.com>
      7dee1848
    • J
      arm: sunxi: Enable DM_MMC on required SoCs · 85c3d463
      Jagan Teki 提交于
      Enabling DM_MMC is forcing CONFIG_BLK=y so if any board which uses
      SCSI must need to enable DM_SCSI otherwise SCSI reads on that particular
      target making invalid reading to the disk drive.
      
      Allwinner platform do support SCSI on A10, A20 and R40 SoC's out of
      these only A10 have DM_SCSI enabled. So enabling DM_MMC on A20, R40
      would eventually end-up with scsi disk read failures like [1]
      
      So, enable DM_MMC in all places of respective SoC's instead of enabling
      them globally to Allwinner platform.
      
      Now, DM_MMC is enabled in Allwinner SoC's except A20 and R40.
      
      [1] https://lists.denx.de/pipermail/u-boot/2019-April/364057.htmlReported-by: NPablo Sebastián Greco <pgreco@centosproject.org>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      85c3d463
  2. 08 4月, 2019 17 次提交
  3. 02 4月, 2019 1 次提交
  4. 30 3月, 2019 1 次提交
  5. 29 3月, 2019 1 次提交
  6. 26 3月, 2019 3 次提交
  7. 23 3月, 2019 4 次提交
  8. 22 3月, 2019 1 次提交
  9. 19 3月, 2019 3 次提交