1. 14 4月, 2018 6 次提交
  2. 09 4月, 2018 1 次提交
    • A
      net: Move enetaddr env access code to env config instead of net config · 9925f1db
      Alex Kiernan 提交于
      In order that we can use eth_env_* even when CONFIG_NET isn't set, move
      these functions to environment code from net code.
      
      This fixes failures such as:
      
        board/ti/am335x/built-in.o: In function `board_late_init':
        board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
        u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'
      
      which caters for use cases such as:
      
      commit f411b5cc ("board: am335x: Always set eth/eth1addr environment
      variable")
      
      when Ethernet is required in Linux, but not U-Boot.
      Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
      9925f1db
  3. 04 2月, 2018 2 次提交
  4. 31 10月, 2017 1 次提交
    • F
      net: fec_mxc: Change "error frame" message to debug level · 41b93679
      Fabio Estevam 提交于
      As reported by Jonathan Gray:
      
      "After the recent changes to add SimpleNetworkProtocol to efi_loader
      when booting off mmc via an efi payload that doesn't use
      SimpleNetworkProtocol U-Boot's fec_mxc driver will now display
      various "error frame" messages.
      ....
      MMC Device 1 not found
      MMC Device 2 not found
      MMC Device 3 not found
      Scanning disks on sata...
      Found 6 disks
      reading efi/boot/bootarm.efi
      67372 bytes read in 32 ms (2 MiB/s)
      ## Starting EFI application at 12000000 ...
      >> OpenBSD/armv7 BOOTARM 1.0
      error frame: 0x8f57ec40 0x00003d74
      error frame: 0x8f57ec40 0x00007079
      error frame: 0x8f57ec40 0x00006964
      error frame: 0x8f57ec40 0x00006f6f
      error frame: 0x8f57ec40 0x0000726f
      error frame: 0x8f57ec40 0x00002074
      error frame: 0x8f57ec40 0x00006f6f"
      
      Heinrich Schuchardt explains:
      
      "A receive FIFO overrun can be expected if network packages are not
      processed.
      With the network patches we check if a package is available quite often."
      
      Move the "error frame" messages to debug level so that a clean output
      log can be seen.
      Reported-by: NJonathan Gray <jsg@jsg.id.au>
      Suggested-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      41b93679
  5. 16 8月, 2017 2 次提交
  6. 28 7月, 2017 1 次提交
  7. 12 7月, 2017 2 次提交
    • S
      imx: reorganize IMX code as other SOCs · 552a848e
      Stefano Babic 提交于
      Change is consistent with other SOCs and it is in preparation
      for adding SOMs. SOC's related files are moved from cpu/ to
      mach-imx/<SOC>.
      
      This change is also coherent with the structure in kernel.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      
      CC: Fabio Estevam <fabio.estevam@nxp.com>
      CC: Akshay Bhat <akshaybhat@timesys.com>
      CC: Ken Lin <Ken.Lin@advantech.com.tw>
      CC: Marek Vasut <marek.vasut@gmail.com>
      CC: Heiko Schocher <hs@denx.de>
      CC: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
      CC: Christian Gmeiner <christian.gmeiner@gmail.com>
      CC: Stefan Roese <sr@denx.de>
      CC: Patrick Bruenn <p.bruenn@beckhoff.com>
      CC: Troy Kisky <troy.kisky@boundarydevices.com>
      CC: Nikita Kiryanov <nikita@compulab.co.il>
      CC: Otavio Salvador <otavio@ossystems.com.br>
      CC: "Eric Bénard" <eric@eukrea.com>
      CC: Jagan Teki <jagan@amarulasolutions.com>
      CC: Ye Li <ye.li@nxp.com>
      CC: Peng Fan <peng.fan@nxp.com>
      CC: Adrian Alonso <adrian.alonso@nxp.com>
      CC: Alison Wang <b18965@freescale.com>
      CC: Tim Harvey <tharvey@gateworks.com>
      CC: Martin Donnelly <martin.donnelly@ge.com>
      CC: Marcin Niestroj <m.niestroj@grinn-global.com>
      CC: Lukasz Majewski <lukma@denx.de>
      CC: Adam Ford <aford173@gmail.com>
      CC: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr>
      CC: Boris Brezillon <boris.brezillon@free-electrons.com>
      CC: Soeren Moch <smoch@web.de>
      CC: Richard Hu <richard.hu@technexion.com>
      CC: Wig Cheng <wig.cheng@technexion.com>
      CC: Vanessa Maegima <vanessa.maegima@nxp.com>
      CC: Max Krummenacher <max.krummenacher@toradex.com>
      CC: Stefan Agner <stefan.agner@toradex.com>
      CC: Markus Niebel <Markus.Niebel@tq-group.com>
      CC: Breno Lima <breno.lima@nxp.com>
      CC: Francesco Montefoschi <francesco.montefoschi@udoo.org>
      CC: Jaehoon Chung <jh80.chung@samsung.com>
      CC: Scott Wood <oss@buserror.net>
      CC: Joe Hershberger <joe.hershberger@ni.com>
      CC: Anatolij Gustschin <agust@denx.de>
      CC: Simon Glass <sjg@chromium.org>
      CC: "Andrew F. Davis" <afd@ti.com>
      CC: "Łukasz Majewski" <l.majewski@samsung.com>
      CC: Patrice Chotard <patrice.chotard@st.com>
      CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Hans de Goede <hdegoede@redhat.com>
      CC: Masahiro Yamada <yamada.masahiro@socionext.com>
      CC: Stephen Warren <swarren@nvidia.com>
      CC: Andre Przywara <andre.przywara@arm.com>
      CC: "Álvaro Fernández Rojas" <noltari@gmail.com>
      CC: York Sun <york.sun@nxp.com>
      CC: Xiaoliang Yang <xiaoliang.yang@nxp.com>
      CC: Chen-Yu Tsai <wens@csie.org>
      CC: George McCollister <george.mccollister@gmail.com>
      CC: Sven Ebenfeld <sven.ebenfeld@gmail.com>
      CC: Filip Brozovic <fbrozovic@gmail.com>
      CC: Petr Kulhavy <brain@jikos.cz>
      CC: Eric Nelson <eric@nelint.com>
      CC: Bai Ping <ping.bai@nxp.com>
      CC: Anson Huang <Anson.Huang@nxp.com>
      CC: Sanchayan Maity <maitysanchayan@gmail.com>
      CC: Lokesh Vutla <lokeshvutla@ti.com>
      CC: Patrick Delaunay <patrick.delaunay@st.com>
      CC: Gary Bisson <gary.bisson@boundarydevices.com>
      CC: Alexander Graf <agraf@suse.de>
      CC: u-boot@lists.denx.de
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
      552a848e
    • L
      net: fec_mxc: fix PHY initialization bug with CONFIG_DM_ETH · 306dd7da
      Lothar Waßmann 提交于
      When CONFIG_DM_ETH is set, the FEC ethernet controller is reset after
      the PHY has been set up and initialzed. This breaks the communication
      with the PHY and results in an inoperable ethernet interface.
      
      Do the initialization with CONFIG_DM_ETH in the same order as with
      legacy ETH support to fix this.
      Signed-off-by: NLothar Waßmann <LW@KARO-electronics.de>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      306dd7da
  8. 01 6月, 2017 1 次提交
    • S
      dm: Rename dev_addr..() functions · a821c4af
      Simon Glass 提交于
      These support the flat device tree. We want to use the dev_read_..()
      prefix for functions that support both flat tree and live tree. So rename
      the existing functions to avoid confusion.
      
      In the end we will have:
      
         1. dev_read_addr...()    - works on devices, supports flat/live tree
         2. devfdt_get_addr...()  - current functions, flat tree only
         3. of_get_address() etc. - new functions, live tree only
      
      All drivers will be written to use 1. That function will in turn call
      either 2 or 3 depending on whether the flat or live tree is in use.
      
      Note this involves changing some dead code - the imx_lpi2c.c file.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      a821c4af
  9. 18 5月, 2017 3 次提交
  10. 18 4月, 2017 3 次提交
  11. 08 2月, 2017 2 次提交
  12. 17 12月, 2016 4 次提交
  13. 31 10月, 2016 1 次提交
  14. 24 9月, 2016 1 次提交
  15. 12 7月, 2016 1 次提交
  16. 24 5月, 2016 1 次提交
  17. 03 1月, 2016 2 次提交
  18. 12 9月, 2015 1 次提交
  19. 02 9月, 2015 1 次提交
  20. 10 7月, 2015 1 次提交
  21. 19 4月, 2015 2 次提交
  22. 25 10月, 2014 1 次提交