26 Jul, 2017

2 commits

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_FLASH

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

17 Sep, 2016

1 commit


24 Jul, 2013

1 commit


07 Jul, 2012

5 commits

  • In SPEAr, some of the configuration flags eg. CONFIG_SPEAR_EMI, were given value
    "1", which isn't required. Define the flags without assigning any value

    Signed-off-by: Amit Virdi
    Acked-by: Stefan Roese
    Signed-off-by: Stefan Roese

    Amit Virdi
     
  • In SPEAr configuration files, unnecessary paranthesis are used in some
    \#defines. Remove them as they serve no purpose

    Signed-off-by: Amit Virdi
    Acked-by: Stefan Roese
    Signed-off-by: Stefan Roese

    Amit Virdi
     
  • This patch enables flash protection(lock/unlock) for CFI devices.
    This is necessary because the Parallel NOR flash connected on the spear
    boards, M28W64, can be locked/unlocked on a sector basis. Moreover, all its
    sectors are in locked state at reset and these have to be unlocked explicitly
    before being erased or written.

    Signed-off-by: Vipin Kumar
    Signed-off-by: Amit Virdi
    Acked-by: Stefan Roese
    Signed-off-by: Stefan Roese

    Vipin Kumar
     
  • This patch modifies the default environment variables as:
    1. Default bootargs:
    - console=ttyAMA0,115200
    - For environment present in NOR flash
    root=/dev/mtdblock3
    - For environment present in NAND flash
    root=/dev/mtdblock7
    - Removes "mem=" option
    2. Introduces CONFIG_EXTRA_ENV_USBTTY as default usbtty env var even when usbtty
    is not selected
    3. Add default definitions for nfsboot and ramboot
    4. Add a new default environment variable(CONFIG_EXTRA_ENV_UNLOCK) for SPEAr310
    and SPEAr320

    Signifacance of CONFIG_EXTRA_ENV_USBTTY:
    This environment variable is important for flashing utility to work. So if
    somebody accidently erases the env sector then also this variable must be
    preserved so that flashing utility functions properly.

    Signifacance of CONFIG_EXTRA_ENV_UNLOCK:
    This env variable is read by the cfi driver to unlock all flash sectors. This
    is necessary because the Parallel NOR flash connected on the spear310 and
    spear320 boards, M28W64, has all its sectors in locked state at reset and these
    have to be unlocked explicitly before being erased or written.

    Signed-off-by: Vipin Kumar
    Signed-off-by: Shiraz Hashim
    Signed-off-by: Amit Virdi
    Acked-by: Stefan Roese
    Signed-off-by: Stefan Roese

    Vipin KUMAR
     
  • This patch adds options for all the below mentioned configurations and
    subsequently renames the include/configs/spearxxx.h files to spear3xx_evb.h,
    spear6xx_evb.h etc to depict evaluation board configuration.

    SPEAr3xx and SPEAr6xx boards can be compiled in following configurations
    1. Environment placed in NAND
    2. Console on usb device
    3. Console on usb device with environment placed in NAND
    4. SPEAr310 and SPEAr320 support environment variables in parallel
    NOR flash.

    Signed-off-by: Vipin Kumar
    Signed-off-by: Amit Virdi
    Signed-off-by: Stefan Roese

    Vipin KUMAR