01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


21 Mar, 2013

4 commits

  • cc: Anatolij Gustschin
    cc: Cliff Brake
    cc: John Zhan
    cc: Marek Vasut
    cc: Wolfgang Denk
    Signed-off-by: Jeroen Hofstee

    Jeroen Hofstee
     
  • lcd_base is available as gd->fb_base as well, there is no need
    to keep a seperate copy.

    For completeness the ack of Bo Shen is for the atmel part.
    Cc: Alessandro Rubini
    Cc: Anatolij Gustschin
    Cc: Bo Shen
    Cc: Haavard Skinnemoen
    Cc: Kyungmin Park
    Cc: Marek Vasut
    Cc: Minkyu Kang
    Cc: Nikita Kiryanov
    Cc: Simon Glass
    Cc: Stelian Pop
    Cc: Tom Warren
    Acked-by: Bo Shen
    Signed-off-by: Jeroen Hofstee
    [agust: also fix cm_t35 board while rebasing]
    Signed-off-by: Anatolij Gustschin

    Jeroen Hofstee
     
  • console_col, console_row, lcd_line_length, lcd_console_address had
    to be declared in board / driver specific code, but were not actually
    used there on many boards. Get rid of the global variables.

    for completeness, the ack of Bo Shen is for the atmel part
    Cc: Alessandro Rubini
    Cc: Anatolij Gustschin
    Cc: Bo Shen
    Cc: Kyungmin Park
    Cc: Marek Vasut
    Cc: Minkyu Kang
    Cc: Nikita Kiryanov
    Cc: Simon Glass
    Cc: Stelian Pop
    Cc: Tom Warren
    Acked-by: Bo Shen
    Signed-off-by: Jeroen Hofstee
    [agust: rebased and fixed cm_t35 board]
    Signed-off-by: Anatolij Gustschin

    Jeroen Hofstee
     
  • lcd_color_fg and lcd_color_bg had to be declared in board specific
    code, but were not actually used there; in addition, we have getter /
    setter functions for these, which were not used either.

    Get rid of the global variables, and use the getter function where
    needed (so far no setter calls are needed).

    Signed-off-by: Wolfgang Denk
    Cc: Alessandro Rubini
    Cc: Anatolij Gustschin
    Cc: Bo Shen
    Cc: Haavard Skinnemoen
    Cc: Kyungmin Park
    Cc: Marek Vasut
    Cc: Minkyu Kang
    Cc: Nikita Kiryanov
    Cc: Simon Glass
    Cc: Stelian Pop
    Cc: Tom Warren
    Acked-by: Simon Glass
    Acked-by: Jeroen Hofstee
    [agust: also fixed cm_t35 board while rebasing]
    Signed-off-by: Anatolij Gustschin

    Wolfgang Denk
     

05 Sep, 2012

1 commit

  • Move highly platform dependant code into its own functions to reduce the
    number of #ifdefs in lcd_display_bitmap

    To avoid breaking the mcc200 board which does not #define
    CONFIG_CMD_BMP, this patch also implements bmp_display() for mcc200.

    Signed-off-by: Nikita Kiryanov
    Signed-off-by: Igor Grinberg

    Nikita Kiryanov
     

19 Mar, 2012

1 commit

  • Common code has a mdelay() func, so use that instead of the usb-specific
    wait_ms() func. This also fixes the build errors:

    ohci-hcd.c: In function 'submit_common_msg':
    /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
    ohci-hcd.c:1519:9: sorry, unimplemented: called from here
    /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
    ohci-hcd.c:1816:10: sorry, unimplemented: called from here
    /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
    ohci-hcd.c:1827:10: sorry, unimplemented: called from here
    /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
    ohci-hcd.c:1844:10: sorry, unimplemented: called from here
    /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
    ohci-hcd.c:1563:11: sorry, unimplemented: called from here
    /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
    ohci-hcd.c:1583:9: sorry, unimplemented: called from here
    make[1]: *** [ohci-hcd.o] Error 1

    Signed-off-by: Mike Frysinger
    Acked-by: Marek Vasut

    Mike Frysinger
     

16 Nov, 2011

1 commit

  • While video_font.h is useful even without referencing the font data, it
    is not possible to be included multiple times because it defines font
    data array right in the header.

    This patch splits the font data array into video_font_data.h and so now
    video_font.h can be included multiple times. This at least solves the
    code duplication in board/mcc200/lcd.c.

    Signed-off-by: Che-Liang Chiou
    Acked-by: Mike Frysinger

    Che-Liang Chiou
     

08 Nov, 2011

1 commit


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
     

19 Oct, 2010

3 commits

  • After the recent cleanups, a number of config.mk files consist only of
    a "PLATFORM_CPPFLAGS += -I$(TOPDIR)/board" entry whih is not needed.
    Remove such entries. In most cases, that means that the whole
    config.mk file can be removed.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • Clean up Makefile, and drop a lot of the config.mk files on the way.

    We now also automatically pick all boards that are listed in
    boards.cfg (and with all configurations), so we can drop the redundant
    entries from MAKEALL to avoid building these twice.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • 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
     

22 Mar, 2010

1 commit


04 Jun, 2009

1 commit

  • Several boards used different ways to specify the size of the
    protected area when enabling flash write protection for the sectors
    holding the environment variables: some used CONFIG_ENV_SIZE and
    CONFIG_ENV_SIZE_REDUND, some used CONFIG_ENV_SECT_SIZE, and some even
    a mix of both for the "normal" and the "redundant" areas.

    Normally, this makes no difference at all. However, things are
    different when you have to deal with boards that can come with
    different types of flash chips, which may have different sector
    sizes.

    Here we may have to chose CONFIG_ENV_SECT_SIZE such that it fits the
    biggest sector size, which may include several sectors on boards using
    the smaller sector flash types. In such a case, using CONFIG_ENV_SIZE
    or CONFIG_ENV_SIZE_REDUND to enable the protection may lead to the
    case that only the first of these sectors get protected, while the
    following ones aren't.

    This is no real problem, but it can be confusing for the user -
    especially on boards that use CONFIG_ENV_SECT_SIZE to protect the
    "normal" areas, while using CONFIG_ENV_SIZE_REDUND for the
    "redundant" area.

    To avoid such inconsistencies, I changed all sucn boards that I found
    to consistently use CONFIG_ENV_SECT_SIZE for protection. This should
    not cause any functional changes to the code.

    Signed-off-by: Wolfgang Denk
    Cc: Paul Ruhland
    Cc: Pantelis Antoniou
    Cc: Stefan Roese
    Cc: Gary Jennejohn
    Cc: Dave Ellis
    Acked-by: Stefan Roese

    Wolfgang Denk
     

19 Oct, 2008

1 commit


11 Sep, 2008

1 commit


09 Sep, 2008

1 commit


11 Jul, 2008

1 commit


03 Jul, 2008

1 commit


12 Jun, 2008

1 commit

  • This patch changes the return type of initdram() from long int to phys_size_t.
    This is required for a couple of reasons: long int limits the amount of dram
    to 2GB, and u-boot in general is moving over to phys_size_t to represent the
    size of physical memory. phys_size_t is defined as an unsigned long on almost
    all current platforms.

    This patch *only* changes the return type of the initdram function (in
    include/common.h, as well as in each board's implementation of initdram). It
    does not actually modify the code inside the function on any of the platforms;
    platforms which wish to support more than 2GB of DRAM will need to modify
    their initdram() function code.

    Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
    MPC8641HPCN.

    Signed-off-by: Becky Bruce

    Becky Bruce
     

29 Feb, 2008

1 commit

  • This patch introduces the following prefix convention for the
    image format handling and bootm related code:

    genimg_ - dual format shared code
    image_ - legacy uImage format specific code
    fit_ - new uImage format specific code
    boot_ - booting process related code

    Related routines are renamed and a few pieces of code are moved around and
    re-grouped.

    Signed-off-by: Marian Balakowicz

    Marian Balakowicz
     

25 Feb, 2008

1 commit

  • This patch adds framework for dual format images. Format detection is added
    and the bootm controll flow is updated to include cases for new FIT format
    uImages.

    When the legacy (image_header based) format is detected appropriate
    legacy specific handling is invoked. For the new (FIT based) format uImages
    dual boot framework has a minial support, that will only print out a
    corresponding debug messages. Implementation of the FIT specific handling will
    be added in following patches.

    Signed-off-by: Marian Balakowicz

    Marian Balakowicz
     

07 Feb, 2008

1 commit


12 Aug, 2007

1 commit

  • The update procedure was modified to turn off the USB subsystem
    before exit for MCC200 and TRAB. This is necessary as otherwise the
    USB controller continues to write periodically to system memory!

    MCC200-specific notes:
    - the patch disables the magic key check for MCC200
    - the patch contains the configuration changes made
    for the new revision of the board.

    Signed-off-by: Sergei Poselenov
    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

10 Jul, 2007

2 commits


04 Jul, 2007

2 commits


18 Apr, 2007

1 commit


28 Feb, 2007

1 commit


27 Feb, 2007

2 commits


21 Feb, 2007

1 commit


20 Feb, 2007

2 commits


19 Feb, 2007

1 commit


15 Jan, 2007

1 commit