1. 15 11月, 2010 21 次提交
    • P
      pci: Fix ordering of devices when CONFIG_PCI_SCAN_SHOW · a38d216e
      Peter Tyser 提交于
      Move the printing of PCI device information to before the PCI device is
      configured.  This prevents the case where recursive scanning results in
      the deepest devices being printed first.
      
      This change also makes PCI lockups during enumeration easier to
      diagnose since the device that is being configured is printed out prior
      to configuration.  Previously, it was not possible to determine which
      device caused the PCI lockup.
      
      Original example:
        PCIE1: connected as Root Complex
              04:01.0 - 8086:1010 - Network controller
              04:01.1 - 8086:1010 - Network controller
              03:00.0 - 10b5:8112 - Bridge device
              02:01.0 - 10b5:8518 - Bridge device
              02:02.0 - 10b5:8518 - Bridge device
              08:00.0 - 1957:0040 - Processor
              07:00.0 - 10b5:8518 - Bridge device
              09:00.0 - 10b5:8112 - Bridge device
              07:01.0 - 10b5:8518 - Bridge device
              07:02.0 - 10b5:8518 - Bridge device
              06:00.0 - 10b5:8518 - Bridge device
              02:03.0 - 10b5:8518 - Bridge device
              01:00.0 - 10b5:8518 - Bridge device
        PCIE1: Bus 00 - 0b
      
      Updated example:
        PCIE1: connected as Root Complex
              01:00.0 - 10b5:8518 - Bridge device
              02:01.0 - 10b5:8518 - Bridge device
              03:00.0 - 10b5:8112 - Bridge device
              04:01.0 - 8086:1010 - Network controller
              04:01.1 - 8086:1010 - Network controller
              02:02.0 - 10b5:8518 - Bridge device
              02:03.0 - 10b5:8518 - Bridge device
              06:00.0 - 10b5:8518 - Bridge device
              07:00.0 - 10b5:8518 - Bridge device
              08:00.0 - 1957:0040 - Processor
              07:01.0 - 10b5:8518 - Bridge device
              09:00.0 - 10b5:8112 - Bridge device
              07:02.0 - 10b5:8518 - Bridge device
        PCIE1: Bus 00 - 0b
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      a38d216e
    • P
      pci: Clean up PCI info when CONFIG_PCI_SCAN_SHOW · 983eb9d1
      Peter Tyser 提交于
      This change does the following:
      - Removes the printing of the PCI interrupt line value.  This is
        normally set to 0 by U-Boot on bootup and is rarely used during
        everyday operation.
      
      - Prints out the PCI function number of a device.  Previously a device
        with multiple functions would be printed identically 2 times, which is
        generally confusing.  For example, on an Intel 2 port gigabit Ethernet
        card the following was displayed:
          ...
          04  01  8086  1010  0200  00
          04  01  8086  1010  0200  00
          ...
      
      - Prints a text description of each device's PCI class instead of the
        raw PCI class code.  The textual description makes it much easier to
        determine what devices are installed on a PCI bus.
      
      - Changes the general formatting of the PCI device output.
      
      Previous output:
        PCIE1: connected as Root Complex
                04  01  8086  1010  0200  00
                04  01  8086  1010  0200  00
                03  00  10b5  8112  0604  00
                02  01  10b5  8518  0604  00
                02  02  10b5  8518  0604  00
                08  00  1957  0040  0b20  00
                07  00  10b5  8518  0604  00
                09  00  10b5  8112  0604  00
                07  01  10b5  8518  0604  00
                07  02  10b5  8518  0604  00
                06  00  10b5  8518  0604  00
                02  03  10b5  8518  0604  00
                01  00  10b5  8518  0604  00
        PCIE1: Bus 00 - 0b
        PCIE2: connected as Root Complex
                0d  00  1957  0040  0b20  00
        PCIE2: Bus 0c - 0d
      
      Updated output:
        PCIE1: connected as Root Complex
                04:01.0 - 8086:1010 - Network controller
                04:01.1 - 8086:1010 - Network controller
                03:00.0 - 10b5:8112 - Bridge device
                02:01.0 - 10b5:8518 - Bridge device
                02:02.0 - 10b5:8518 - Bridge device
                08:00.0 - 1957:0040 - Processor
                07:00.0 - 10b5:8518 - Bridge device
                09:00.0 - 10b5:8112 - Bridge device
                07:01.0 - 10b5:8518 - Bridge device
                07:02.0 - 10b5:8518 - Bridge device
                06:00.0 - 10b5:8518 - Bridge device
                02:03.0 - 10b5:8518 - Bridge device
                01:00.0 - 10b5:8518 - Bridge device
        PCIE1: Bus 00 - 0b
        PCIE2: connected as Root Complex
                0d:00.0 - 1957:0040 - Processor
        PCIE2: Bus 0c - 0d
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      983eb9d1
    • P
      fsl_pci_init: Quiet scanning printf() · 37d03fce
      Peter Tyser 提交于
      The "Scanning PCI bus X" message doesn't provide any real useful
      information, so remove it.
      
      Original output:
        PCIE1: connected as Root Complex
                   Scanning PCI bus 01
                04  01  8086  1010  0200  00
                04  01  8086  1010  0200  00
                03  00  10b5  8112  0604  00
                02  01  10b5  8518  0604  00
                02  02  10b5  8518  0604  00
                08  00  1957  0040  0b20  00
                07  00  10b5  8518  0604  00
                09  00  10b5  8112  0604  00
                07  01  10b5  8518  0604  00
                07  02  10b5  8518  0604  00
                06  00  10b5  8518  0604  00
                02  03  10b5  8518  0604  00
                01  00  10b5  8518  0604  00
        PCIE1: Bus 00 - 0b
        PCIE2: connected as Root Complex
                   Scanning PCI bus 0d
                0d  00  1957  0040  0b20  00
        PCIE2: Bus 0c - 0d
      
      Updated output:
        PCIE1: connected as Root Complex
                04  01  8086  1010  0200  00
                04  01  8086  1010  0200  00
                03  00  10b5  8112  0604  00
                02  01  10b5  8518  0604  00
                02  02  10b5  8518  0604  00
                08  00  1957  0040  0b20  00
                07  00  10b5  8518  0604  00
                09  00  10b5  8112  0604  00
                07  01  10b5  8518  0604  00
                07  02  10b5  8518  0604  00
                06  00  10b5  8518  0604  00
                02  03  10b5  8518  0604  00
                01  00  10b5  8518  0604  00
        PCIE1: Bus 00 - 0b
        PCIE2: connected as Root Complex
                0d  00  1957  0040  0b20  00
        PCIE2: Bus 0c - 0d
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      CC: galak@kernel.crashing.org
      37d03fce
    • P
      mpc85xx: Fix SERDES/eTSEC message indentation · e7060dc5
      Peter Tyser 提交于
      Previously some mpc85xx boards printed indented messages such as the
      following on bootup:
        printf("    eTSEC4 is in sgmii mode.\n");
        printf("    Serdes2 disalbed\n");
      
      The bootup appearance looks cleaner if the indentation is removed which
      aligns these messages with other bootup output.
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      CC: galak@kernel.crashing.org
      e7060dc5
    • P
      fsl: Clean up printing of PCI boot info · 8ca78f2c
      Peter Tyser 提交于
      Previously boards used a variety of indentations, newline styles, and
      colon styles for the PCI information that is printed on bootup.  This
      patch unifies the style to look like:
      
      ...
      NAND:  1024 MiB
      PCIE1: connected as Root Complex
                 Scanning PCI bus 01
              04  01  8086  1010  0200  00
              04  01  8086  1010  0200  00
              03  00  10b5  8112  0604  00
              02  01  10b5  8518  0604  00
              02  02  10b5  8518  0604  00
              08  00  1957  0040  0b20  00
              07  00  10b5  8518  0604  00
              09  00  10b5  8112  0604  00
              07  01  10b5  8518  0604  00
              07  02  10b5  8518  0604  00
              06  00  10b5  8518  0604  00
              02  03  10b5  8518  0604  00
              01  00  10b5  8518  0604  00
      PCIE1: Bus 00 - 0b
      PCIE2: connected as Root Complex
                 Scanning PCI bus 0d
              0d  00  1957  0040  0b20  00
      PCIE2: Bus 0c - 0d
      In:    serial
      ...
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      CC: wd@denx.de
      CC: sr@denx.de
      CC: galak@kernel.crashing.org
      8ca78f2c
    • P
      fsl_pci_init: Make fsl_pci_init_port() PCI/PCIe aware · a72dbae2
      Peter Tyser 提交于
      Previously fsl_pci_init_port() always assumed that a port was a PCIe
      port and would incorrectly print messages for a PCI port such as the
      following on bootup:
          PCI1:  32 bit, 33 MHz, sync, host, arbiter
                      Scanning PCI bus 00
          PCIE1 on bus 00 - 00
      
      This change corrects the output of fsl_pci_init_port():
          PCI1:  32 bit, 33 MHz, sync, host, arbiter
                      Scanning PCI bus 00
          PCI1 on bus 00 - 00
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      a72dbae2
    • J
      net: Fix potential empty DHCP Parameter Request List · 258ccd68
      Jason Liu 提交于
      Can't get IP address with dhcp due to the dhcp server not
      allow the empty param list request under some network env
      
      This patch is based on Gray Remlin's initial patch.
      Signed-off-by: NJason Liu <r64343@freescale.com>
      Signed-off-by: NGray Remlin <g_remlin@rocketmail.com>
      258ccd68
    • L
      env_mmc: fix compile warning · 6d1d51b3
      Lei Wen 提交于
      hexport would complain implicit declaration, if we don't add the
      include file.
      
      env_mmc.c: In function 'saveenv':
      env_mmc.c:109: warning: implicit declaration of function 'hexport'
      Signed-off-by: NLei Wen <leiwen@marvell.com>
      6d1d51b3
    • D
      tools/env: cleanup host build flags · 02bd475e
      Daniel Hobi 提交于
      This patch makes tools/env/Makefile more similar to tools/imls:
      - define HOSTSRCS and HOSTCPPFLAGS, so that .depend generation works.
      - include U-Boot headers using -idirafter to prevent picking up
        u-boot/include/errno.h.
      - use HOSTCFLAGS_NOPED (fw_env.c does not conform to -pedantic).
      
      In order to cross-compile tools/env, override the HOSTCC variable
      as in this example:
      
        make tools env HOSTCC=bfin-uclinux-gcc
      Signed-off-by: NDaniel Hobi <daniel.hobi@schmid-telecom.ch>
      Tested-by: NDetlev Zundel <dzu@denx.de>
      Tested-by: NSteve Sakoman <steve.sakoman@linaro.org>
      02bd475e
    • J
      PowerPC: Don't destroy fixup table while doing fixups · 34bbf618
      Joakim Tjernlund 提交于
      The fixup procedure just stored a constant value in the
      fixup table rather than just adjusting the table.
      Although that doesn't seem to do any harm, it prevents
      relocation more that once.
      Signed-off-by: NJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
      34bbf618
    • K
      net: e1000: Add initialized eth_device & e1000_hw structure · 4b29bdb0
      Kumar Gala 提交于
      nic and hw structures are allocated via malloc i.e. return memory
      is not zero initialized. Because of this few structure member like
      "function pointers" are initialized with garbage values.
      
      It may cause problem. for eg. during eth_initialize, dev->write_hwaddr
      is used.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      
      Fixed typo.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      4b29bdb0
    • N
      net: uli526x: Add initialized eth_device structure · fe7f1883
      Nobuhiro Iwamatsu 提交于
      uli526x driver does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      fe7f1883
    • N
      net: tsi108_eth: Add initialized eth_device structure · 7faeb997
      Nobuhiro Iwamatsu 提交于
      tsi108_eth driver does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      7faeb997
    • N
      net: pcnet: Add initialized eth_device structure · 5ed0eeca
      Nobuhiro Iwamatsu 提交于
      pcnet driver does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      5ed0eeca
    • N
      net: ns8382x: Add initialized eth_device structure · 9a07e809
      Nobuhiro Iwamatsu 提交于
      ns8382x driver does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      9a07e809
    • N
      net: natsemi: Add initialized eth_device structure · a9bc6d7c
      Nobuhiro Iwamatsu 提交于
      natsemi driver does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      a9bc6d7c
    • N
      net: fec_mxc: Add initialized eth_device structure · de0b9576
      Nobuhiro Iwamatsu 提交于
      This prevents access to the member of eth_device which is not initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      de0b9576
    • N
      net: eepro100: Add initialized eth_device structure · 72c4c33e
      Nobuhiro Iwamatsu 提交于
      eepro100 driver does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      72c4c33e
    • N
      net: dc2114x: Add initialized eth_device structure · be44f758
      Nobuhiro Iwamatsu 提交于
      dc2114x driver does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      be44f758
    • N
      net: rtl8139: Add initialized eth_device structure · 986f7278
      Nobuhiro Iwamatsu 提交于
      rtl8139 driver does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      986f7278
    • N
      net: rtl8169: Add initialized eth_device structure · f4eaef7b
      Nobuhiro Iwamatsu 提交于
      rtl8169 does not have write_hwaddr function.
      However, eth stuff executes write_hwaddr function
      because eth_device structure has not been initialized.
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      f4eaef7b
  2. 13 11月, 2010 3 次提交
  3. 12 11月, 2010 7 次提交
  4. 11 11月, 2010 3 次提交
  5. 10 11月, 2010 2 次提交
  6. 30 10月, 2010 4 次提交