07 Dec, 2018

2 commits

  • IFC driver changes to implement the chipselect mappings at run time.

    Defines init_early_memctl_regs and init_final_memctl_regs with
    chipselect dynamic mapping for nor and nand boot.

    Signed-off-by: Pankit Garg
    Signed-off-by: Rajesh Bhagat
    [YS: fix checkpatch issues]
    Reviewed-by: York Sun

    Pankit Garg
     
  • Replaces __ilog2 function call with LOG2 macro, required to
    use macros in global variables.

    Also, corrects the value passed in LOG2 for some PowerPC
    platforms. Minimum value that can be configured is is 64K
    for IFC IP.

    Signed-off-by: Pankit Garg
    Signed-off-by: Rajesh Bhagat
    [YS: fix white space around operator]
    Reviewed-by: York Sun

    Rajesh Bhagat
     

09 May, 2018

1 commit

  • Number of ECC status registers i.e. (ECCSTATx) has been increased in
    IFC version 2.0.0 due to increase in SRAM size. This is causing
    eccstat array to over flow.

    So, replace eccstat array with u32 variable to make it fail-safe and
    independent of number of ECC status registers or SRAM size.

    Signed-off-by: Prabhakar Kushwaha
    Signed-off-by: Jagdish Gediya
    Reviewed-by: York Sun

    Jagdish Gediya
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

06 Jun, 2017

1 commit


26 Aug, 2015

1 commit

  • Update the NAND code to match Linux v4.1. The previous sync was
    from Linux v3.15 in commit 4e67c57125290b25.

    CONFIG_SYS_NAND_RESET_CNT is removed, as the upstream Linux code now
    has its own timeout. Plus, CONFIG_SYS_NAND_RESET_CNT was undocumented
    and not selected by any board.

    Signed-off-by: Scott Wood

    Scott Wood
     

24 Apr, 2015

1 commit

  • IFC has two register pages.Till IFC version 1.4 each
    register page is 4KB each.But IFC ver 2.0 register page
    size is 64KB each.IFC regiters structure is break into
    two viz FCM and RUNTIME.FCM(Flash control machine) registers
    are defined in PAGE0 and controls IFC generic functionality.
    RUNTIME registers are defined in PAGE1 and controls NAND and
    GPCM funcinality.

    FCM and RUNTIME structures defination is common for IFC
    version 1.4 and 2.0.

    Signed-off-by: Jaiprakash Singh
    Signed-off-by: York Sun

    Jaiprakash Singh
     

23 Jul, 2014

2 commits


23 Apr, 2014

1 commit


04 Feb, 2014

1 commit


02 Dec, 2013

1 commit


26 Nov, 2013

1 commit