01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


09 Jan, 2013

1 commit

  • This saves stack and code memory for local copy, and
    consumes initialized data memory. For 22 of the 29
    kirkwood-based boards, this results in a global saving
    of about 30 bytes. For 7 of them, it results in an
    increase of 6 to 14 bytes.

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     

03 Sep, 2012

1 commit


07 Jul, 2012

1 commit


28 Oct, 2011

1 commit

  • For files like the drivers/serial/serial.c, it must include the
    platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the
    definition in the platform definition files.

    Include the platform definition file in the config file, so that it
    would decouple the dependence for the driver files.

    Signed-off-by: Lei Wen

    Lei Wen
     

16 Oct, 2011

1 commit

  • The top level Makefile does not do any recursion into subdirs when
    cleaning, so these clean/distclean targets in random arch/board dirs
    never get used. Punt them all.

    MAKEALL didn't report any errors related to this that I could see.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

18 Nov, 2010

1 commit

  • Before this commit, weak symbols were not overridden by non-weak symbols
    found in archive libraries when linking with recent versions of
    binutils. As stated in the System V ABI, "the link editor does not
    extract archive members to resolve undefined weak symbols".

    This commit changes all Makefiles to use partial linking (ld -r) instead
    of creating library archives, which forces all symbols to participate in
    linking, allowing non-weak symbols to override weak symbols as intended.
    This approach is also used by Linux, from which the gmake function
    cmd_link_o_target (defined in config.mk and used in all Makefiles) is
    inspired.

    The name of each former library archive is preserved except for
    extensions which change from ".a" to ".o". This commit updates
    references accordingly where needed, in particular in some linker
    scripts.

    This commit reveals board configurations that exclude some features but
    include source files that depend these disabled features in the build,
    resulting in undefined symbols. Known such cases include:
    - disabling CMD_NET but not CMD_NFS;
    - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

    Signed-off-by: Sebastien Carlier

    Sebastien Carlier
     

28 Oct, 2010

1 commit

  • After moving the definition of CONFIG_SYS_TEXT_BASE to the respective
    board config files, all Marvell kirkwood board have just a single and
    common entry in their config.mk files:

    KWD_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/kwbimage.cfg

    Replace the only reference to KWD_CONFIG in the top level Makefile by
    an equivalent setting, and remove all kirkwood config.mk files.

    Signed-off-by: Wolfgang Denk
    Cc: Prafulla Wadaskar
    Cc: Siddarth Gore
    Cc: Simon Kagstrom
    Cc: Heiko Schocher
    Cc: Eric Cooper
    Acked-by: Wolfgang Denk
    Signed-off-by: Prafulla Wadaskar

    Prafulla Wadaskar
     

21 Oct, 2010

1 commit


19 Oct, 2010

1 commit

  • The change is currently needed to be able to remove the board
    configuration scripting from the top level Makefile and replace it by
    a simple, table driven script.

    Moving this configuration setting into the "CONFIG_*" name space is
    also desirable because it is needed if we ever should move forward to
    a Kconfig driven configuration system.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

13 Oct, 2010

1 commit

  • For all Kirkwood boards so far dram_init function is duplicated
    dram_init function is moved to dram.c and relevant code from all
    board specific files removed

    If any board needs specific dram init handling than standard one,
    then, a macro CONFIG_SYS_BOARD_DRAM_INIT should be defined in
    board config header file and the dram_init function can be put
    in board specific source file
    For ex. keymile boards

    Signed-off-by: Prafulla Wadaskar

    Prafulla Wadaskar
     

28 Nov, 2009

1 commit

  • value

    The SheevaPlug DevKit is shipped with 4x8 by 1Gb DDR devices in
    two banks for a total of 512MB of RAM. Based on this configuration
    the existing values for SDRAM address control register are incorrect
    and result in random kernel oops as memory is incorrectly accessed
    (while for example extracting a large tarball such as a rootfs).
    Based on the hardware configuration along with the supporting
    documentation from Marvell these are the correct values, as
    well this change mimics values previously used in Marvell's own
    u-boot git tree for the SheevaPlug.

    Other variants of the hardware such as the PogoPlug and TonidoPlug
    may have different memory configurations but to properly support
    those additional board directories should be maintained or a better
    system to support other kwb*.cfg is needed.

    Tested on SheevaPlug DevKit.

    Signed-off-by: Mark Asselstine

    Mark Asselstine
     

11 Sep, 2009

1 commit


19 Jul, 2009

1 commit

  • Reference:
    http://plugcomputer.org/
    http://openplug.org/plugwiki/index.php/Das_U-boot_plug_support

    This patch is tested for-
    1. Boot from DRAM/NAND flash
    2. File transfer using tftp
    3. NAND flash read/write/erase
    4. Linux kernel and RFS Boot from NAND
    5. Enabled USB PHY init for kernel need
    6. Boot from USB supported

    Note: to boot Kirkwood kernel with USB support,
    you should add "usb start" in the boot sequence

    Signed-off-by: Prafulla Wadaskar

    Prafulla Wadaskar