1. 09 4月, 2019 7 次提交
    • S
      serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL · e567dfb2
      Stefan Roese 提交于
      This patch adds an alterative SPL version of atmel_serial_enable_clk().
      This enables the usage of this driver without full clock support (in
      drivers and DT nodes). This saves some space in the SPL image.
      
      Please note that this fixed clock support is only added to the SPL code
      in the DM_SERIAL part of this file. All boards not using SPL & DM_SERIAL
      should not be affected.
      
      This patch also introduces CONFIG_SPL_UART_CLOCK for the fixed UART
      input clock. It defaults to 132096000 for ARCH_AT91 but can be set to
      a different value if needed.
      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>
      e567dfb2
    • 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
    • T
      Prepare v2019.04 · 3c991664
      Tom Rini 提交于
      Signed-off-by: NTom Rini <trini@konsulko.com>
      3c991664
    • 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 5 次提交
  3. 05 4月, 2019 1 次提交
  4. 03 4月, 2019 6 次提交
  5. 02 4月, 2019 11 次提交
  6. 01 4月, 2019 8 次提交
  7. 31 3月, 2019 2 次提交