25 Sep, 2014

1 commit


12 Jun, 2014

1 commit

  • Clang interpretes an if condition like  "if ((a = b) == NULL)
    as it tries to assign a value in a statement. Hence if you do
    "if ((something)) it warns you that you might be confused.
    Hence drop the double braces for plane if statements.

    Signed-off-by: Jeroen Hofstee

    Jeroen Hofstee
     

13 Dec, 2013

1 commit


18 Nov, 2013

1 commit


01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


30 Apr, 2012

1 commit


10 Oct, 2011

1 commit


13 Apr, 2011

1 commit


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
     

31 Mar, 2010

1 commit

  • $ ./MAKEALL suen3
    jffs2_1pass.c: In function 'get_fl_mem':
    jffs2_1pass.c:399: warning: unused variable 'id'
    jffs2_1pass.c: In function 'get_node_mem':
    jffs2_1pass.c:423: warning: unused variable 'id'

    Signed-off-by: Heiko Schocher
    Tested-by: Tom

    Heiko Schocher
     

15 Jan, 2010

1 commit

  • Support for LZARI compression mode was added based on a MTD CVS
    snapshot of March 13, 2005. However, fs/jffs2/compr_lzari.c contains
    contradictory licensing terms: the original copyright clause says "All
    rights reserved. Permission granted for non-commercial use.", but
    later reference to the file 'LICENCE' in the jffs2 directory was added
    which says GPL v2 or later.

    As no boards ever used LZARI compression, and this file is also not
    present in recent MTD code, we resolve this conflict by removing the
    conflicting file and references to it.

    Also copy the referenced but missing file 'LICENCE' from the current
    MTD source tree.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

22 Aug, 2009

1 commit

  • This patch fixes some issues with JFFS2 summary support in U-Boot.
    1/ Summary support made compilation configurable (as summary support
    considered expiremental even in Linux).
    2/ Summary code can do unaligned 16-bit and 32-bit memory accesses.
    We need to get data byte by byte to exclude data aborts.
    3/ Make summary scan in two passes so we can safely fall back to full
    scan if we found unsupported entry in the summary.

    Signed-off-by: Ilya Yanok

    Ilya Yanok
     

19 Aug, 2009

1 commit


17 Jul, 2009

1 commit

  • Legacy NAND had been scheduled for removal. Any boards that use this
    were already not building in the previous release due to an #error.

    The disk on chip code in common/cmd_doc.c relies on legacy NAND,
    and it has also been removed. There is newer disk on chip code
    in drivers/mtd/nand; someone with access to hardware and sufficient
    time and motivation can try to get that working, but for now disk
    on chip is not supported.

    Signed-off-by: Scott Wood

    Scott Wood
     

17 Dec, 2008

1 commit


10 Dec, 2008

5 commits

  • As we moved data_crc() invocation from jffs2_1pass_build_lists() to
    jffs2_1pass_read_inode() data_crc is going to be calculated on each
    inode access. This patch adds caching of data_crc() results. There
    is no significant improvement in speed (because of flash access
    caching added in previous patch I think, crc in RAM is really fast)
    but this patch impacts memory usage -- every b_node structure uses
    12 bytes instead of 8.

    Signed-off-by: Alexey Neyman
    Signed-off-by: Ilya Yanok

    Ilya Yanok
     
  • This patch adds support for reading fs information from summary
    node instead of scanning full eraseblock.

    Signed-off-by: Ilya Yanok

    Ilya Yanok
     
  • With this patch JFFS2 code allocates memory buffer of max_totlen size
    (size of the largest node, calculated during scan time) and uses it to
    store entire node. Speeds up loading. If malloc fails we use old ways
    to do things.

    Signed-off-by: Alexey Neyman
    Signed-off-by: Ilya Yanok

    Ilya Yanok
     
  • Rewrites jffs2_1pass_build_lists() function in style of Linux's
    jffs2_scan_medium() and jffs2_scan_eraseblock().
    This includes:
    - Caching flash acceses
    - Smart dealing with free space

    Signed-off-by: Alexey Neyman
    Signed-off-by: Ilya Yanok

    Ilya Yanok
     
  • We need to update i_version inside cycle to find really latest version
    inside jffs2_1pass_list_inodes(). With that fixed we can use isize inside
    dump_inode() instead of calling expensive jffs2_1pass_read_inode().

    Signed-off-by: Alexey Neyman
    Signed-off-by: Ilya Yanok

    Ilya Yanok
     

01 Nov, 2008

1 commit


19 Oct, 2008

1 commit


07 Sep, 2008

1 commit


31 Aug, 2008

1 commit


13 Aug, 2008

1 commit


14 Jul, 2008

2 commits


13 Jul, 2008

1 commit


30 Jun, 2008

1 commit


29 May, 2008

1 commit

  • The nand_info array is declared as extern in several .c files.
    Those days, nand.h contains a reference to the array, so there is
    no need to declare it elsewhere.

    Signed-off-by: Stelian Pop
    Signed-off-by: Scott Wood

    Stelian Pop
     

21 May, 2008

1 commit

  • This commit gets rid of a huge amount of silly white-space issues.
    Especially, all sequences of SPACEs followed by TAB characters get
    removed (unless they appear in print statements).

    Also remove all embedded "vim:" and "vi:" statements which hide
    indentation problems.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

29 Apr, 2008

1 commit


10 Jan, 2008

1 commit


16 Nov, 2007

1 commit

  • This change is in preparation for condtitionial compile support in the
    build system. By spliting them all into seperate lines now, subsequent
    patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_) += ' will
    be less invasive and easier to review

    Signed-off-by: Grant Likely

    Grant Likely
     

11 Jul, 2007

1 commit


10 Jul, 2007

1 commit


05 Jul, 2007

1 commit


04 Jul, 2007

1 commit

  • This is a compatibility step that allows both the older form
    and the new form to co-exist for a while until the older can
    be removed entirely.

    All transformations are of the form:
    Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
    After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

    Signed-off-by: Jon Loeliger

    Jon Loeliger
     

25 Apr, 2007

1 commit