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
     

05 Aug, 2017

1 commit


12 Jul, 2017

1 commit


05 Jun, 2017

1 commit


10 May, 2017

2 commits


13 Feb, 2017

1 commit

  • We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
    not completed. Finish this work by the tool.

    During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
    Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
    than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
    make the code more readable. Besides, negative meaning symbols do
    not fit in obj-$(CONFIG_...) style Makefiles.

    This commit was created as follows:

    [1] Edit "default n" to "default y" in the config entry in
    common/Kconfig.

    [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"

    [3] Rename the instances in defconfigs by the following:
    find . -path './configs/*_defconfig' | xargs sed -i \
    -e '/CONFIG_SYS_NO_FLASH=y/d' \
    -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'

    [4] Change the conditionals by the following:
    find . -name '*.[ch]' | xargs sed -i \
    -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
    -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
    -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
    -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'

    [5] Modify the following manually
    - Rename the rest of instances
    - Remove the description from README
    - Create the new Kconfig entry in drivers/mtd/Kconfig
    - Remove the old Kconfig entry from common/Kconfig
    - Remove the garbage comments from include/configs/*.h

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

04 Jun, 2016

1 commit

  • nand_info[] is now an array of pointers, with the actual mtd_info
    instance embedded in struct nand_chip.

    This is in preparation for syncing the NAND code with Linux 4.6,
    which makes the same change to struct nand_chip. It's in a separate
    commit due to the large amount of changes required to accommodate the
    change to nand_info[].

    Signed-off-by: Scott Wood

    Scott Wood
     

19 Feb, 2016

1 commit


12 Jun, 2014

1 commit


11 Mar, 2014

1 commit


10 Mar, 2014

1 commit

  • Add support for using the Atmel MCI driver on at91sam9263ek.
    This change is modeled after the existing at91sam9260ek support.

    Please note that this hooks up slot1 (MCI1) for SD. Not both.

    Tested with at91bootstrap and u-boot on dataflash in slot 0
    and fat-formatted 8GB SDHC in slot 1 on first revision
    at91sam9263ek (which must use dataflash in slot0 to boot).

    CONFIG_ATMEL_MCI_PORTB not tested.

    Signed-off-by: Andreas Henriksson
    [remove empty line]
    Signed-off-by: Andreas Bießmann

    Andreas Henriksson
     

05 Mar, 2014

1 commit

  • Copied from Linux sources "include/linux/sizes.h" commit
    413541dd66d51f791a0b169d9b9014e4f56be13c

    Signed-off-by: Alexey Brodkin

    Cc: Vineet Gupta
    Cc: Tom Rini
    Cc: Stefan Roese
    Cc: Albert Aribaud
    Acked-by: Tom Rini
    Acked-by: Stefan Roese
    [trini: Add bcm Kona platforms to the patch]
    Signed-off-by: Tom Rini

    Alexey Brodkin
     

02 Dec, 2013

1 commit

  • add common phy reset code into a common function.

    Signed-off-by: Heiko Schocher
    Cc: Andreas Bießmann
    Cc: Bo Shen
    Cc: Jens Scharsig
    Cc: Sergey Lapin
    Cc: Stelian Pop
    Cc: Albin Tonnerre
    Cc: Eric Benard
    Cc: Markus Hubig
    Acked-by: Jens Scharsig (BuS Elektronik)
    Tested-by: Jens Scharsig (BuS Elektronik)
    Tested-by: Bo Shen
    Acked-by: Bo Shen
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     

24 Jul, 2013

1 commit


01 Sep, 2012

1 commit


07 Jul, 2012

1 commit


29 Nov, 2011

1 commit


03 Aug, 2011

1 commit


12 Jul, 2010

1 commit


08 Mar, 2010

1 commit


13 Feb, 2010

1 commit


07 Jul, 2009

1 commit


21 Jun, 2009

1 commit


17 Apr, 2009

1 commit


22 Mar, 2009

5 commits


21 Nov, 2008

1 commit


07 Nov, 2008

2 commits


27 Oct, 2008

1 commit

  • The information displayed when CONFIG_LCD_INFO is set is inherently
    board-specific, so it should be done by the board code. The current code
    dealing with this only handles two cases, and is already a horrible mess
    of #ifdeffery.

    Yes, this duplicates some code, but it also allows boards to print more
    board-specific information; this used to be very difficult.

    Signed-off-by: Haavard Skinnemoen
    Signed-off-by: Anatolij Gustschin

    Haavard Skinnemoen
     

19 Oct, 2008

1 commit


03 Sep, 2008

1 commit


05 Jul, 2008

2 commits

  • Fix NAND FLASH timings for at91sam9x evaluation kits.

    New timings are based on application note
    "NAND Flash Support on AT91SAM9 Microcontrollers" available at
    http://atmel.com/dyn/resources/prod_documents/doc6255.pdf

    Signed-off-by: Patrice Vilchez
    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Acked-by: Stelian Pop

    Patrice Vilchez
     
  • AT91 RSTC registers are battery-backuped, so their values
    are not reset across power cycles. One of those registers,
    the AT91_RSTC_MR register, is being modified by U-Boot, in
    the ethernet initialisation routine, to generate a 500ms
    user reset.

    Unfortunately, this value is not being restored afterwards,
    causing subsequent resets to also last for 500ms.

    This long reset sequence causes problems (at least) in the
    boot sequence from NOR: by the time the CPU tries to load
    a program from the NOR flash, the latter is still in reset
    and not yet available.

    Additionaly, this patch fixes a bug in the original code which
    caused the reset delay to last for 2s instead of 500ms.

    Signed-off-by: Stelian Pop
    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

    Stelian Pop
     

10 May, 2008

2 commits