20 Feb, 2014

7 commits


19 Feb, 2014

25 commits


18 Feb, 2014

3 commits


14 Feb, 2014

2 commits

  • Typo: The correct value is 1 not 2.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • KMSUGP1 is from a u-boot perspective (almost) identical to KMNUSA.
    The only difference is that the PCIe reset is connected to Kirkwood pin
    MPP7_PEX_RST_OUTn, we use a dedicated config flag KM_PCIE_RESET_MPP7.
    Such pin should theoretically be handled by the PCIe subsystem
    automatically, but this turned out not to be the case.
    So simply configure this PIN as a GPIO and issue a pulse manually.

    Signed-off-by: Gerlando Falauto
    Cc: Karlheinz Jerg
    Cc: Valentin Longchamp
    Cc: Holger Brunck
    Acked-by: Valentin Longchamp

    Gerlando Falauto
     

13 Feb, 2014

3 commits

  • Add set_fdthigh subcommand to "subbootcmds" (release) so to set "fdt_high"
    This is necessary on Kirkwood so that the FDT does not get relocated
    above the memory limit that the kernel cannot access
    (that is the memory part reserved for the switch).
    This was tested on NUSA1, where it is necessary, and on ETER1, where it
    doesn't seem to hurt.

    We want the scripts to also work with older versions of u-boot, where:
    a) set_fdthigh is not defined (will be default env for newer u-boots)
    b) the fdt will not be available

    For this reason, we use "set_fdthigh" to tell whether we are running
    a newer (FDT-aware) u-boot or not.
    So if "set_fdthigh" runs successfully or arch != arm we try loading
    the fdt; otherwise we proceed normally.

    Notice how, contrary to release mode, set_fdthigh will _not_ be part of
    subbootcmds for develop and ramfs, but will be executed as part of
    "tftpfdt".

    Since this is only needed for kirkwood cards, and it prevents the kernel
    from booting on QorIQ (though it seemed to work on ETER1), we change
    its definition in the default env for powerpc so that the value is only
    set on ARM.

    Signed-off-by: Valentin Longchamp
    Signed-off-by: Gerlando Falauto
    Signed-off-by: Holger Brunck
    Acked-by: Valentin Longchamp

    Gerlando Falauto
     
  • This consists of:
    a) Defining the addresses, enabling fdtsupport [arm]
    b) Defining "cramfsloadfdt" [arm,powerpc => common]
    c) Adding the FDT address to bootm [arm,powerpc => common]
    d) Defining "tftpfdt" in ramfs-,develop- [arm,powerpc >= common]

    This should work with 3.10 kernels, whether loaded through TFTP
    (with rootfs either through NFS or TFTP-ramfs) or from the NAND.

    The machid was left unchanged, this should keep compatibility with both
    older and newer kernels.

    Signed-off-by: Valentin Longchamp
    Signed-off-by: Gerlando Falauto
    Signed-off-by: Holger Brunck
    Acked-by: Valentin Longchamp

    Gerlando Falauto
     
  • miiphy_read and miiphy_write are returning 0 on success.

    Signed-off-by: Holger Brunck
    Acked-by: Valentin Longchamp

    Holger Brunck