15 May, 2012

3 commits

  • Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220.

    NAS6210 has 1 SATA and 1 eSATA port while NAS6220 has 2 SATA ports.

    More information about the boards can be found here:

    http://www.raidsonic.de/en/products/nas-systems.php?we_objectID=7036
    http://www.raidsonic.de/en/products/nas-systems.php?we_objectID=7515

    Signed-off-by: Luka Perkov
    Signed-off-by: Gerald Kerma
    Signed-off-by: Simon Baatz

    Luka Perkov
     
  • This change adds a basic support for Embest/Timll DevKit3250 board,
    NOR and UART are the only supported peripherals for a moment. The board
    doesn't require low-level init, because the initial SDRAM and GPIO
    configuration is performed during kickstart bootloader execution.

    Signed-off-by: Vladimir Zapolskiy
    Cc: Albert ARIBAUD
    Acked-by: Marek Vasut

    Vladimir Zapolskiy
     
  • I have tested booting both FDT and non-FDT based Linux kernels (based on
    http://marc.info/?l=linux-arm-kernel&m=133002679716986 and
    http://marc.info/?l=linux-arm-kernel&m=132328894303581 respectively).

    Signed-off-by: Ian Campbell
    Cc: Jason
    Cc: Prafulla Wadaskar
    Acked-by: Jason Cooper

    Ian Campbell
     

01 May, 2012

1 commit

  • * 'agust@denx.de' of git://git.denx.de/u-boot-staging:
    lin_gadget: use common linux/compat.h
    linux/compat.h: rename from linux/mtd/compat.h
    lin_gadget: use common mdelay
    gunzip: rename z{alloc, free} to gz{alloc, free}
    fs/fat: align disk buffers on cache line to enable DMA and cache
    part_dos: align disk buffers on cache line to enable DMA and cache

    Wolfgang Denk
     

30 Apr, 2012

19 commits

  • * 'master' of /home/wd/git/u-boot/custodians:
    powerpc/ppc4xx: Remove typedefs for gdsys FPGA
    powerpc/ppc4xx: Fix typo in gdsys_fpga.h
    powerpc/ppc4xx: Update gdsys board configurations
    powerpc/ppc4xx: Support gdsys dlvision-10g hardware 1.20
    powerpc/ppc4xx: Adapt gdsys 405ep boards to platform changes
    powerpc/ppc4xx: Make gdsys 405ep boards reset more generic
    powerpc/ppc4xx: Adjust environment size on neo

    Wolfgang Denk
     
  • * 'master' of git://git.denx.de/u-boot-ppc4xx:
    powerpc/ppc4xx: Remove typedefs for gdsys FPGA
    powerpc/ppc4xx: Fix typo in gdsys_fpga.h
    powerpc/ppc4xx: Update gdsys board configurations
    powerpc/ppc4xx: Support gdsys dlvision-10g hardware 1.20
    powerpc/ppc4xx: Adapt gdsys 405ep boards to platform changes
    powerpc/ppc4xx: Make gdsys 405ep boards reset more generic
    powerpc/ppc4xx: Adjust environment size on neo

    Wolfgang Denk
     
  • Merge our duplicate definitions with the common header.

    Also fix drivers/usb/gadget/s3c_udc_otg_xfer_dma.c to
    use min() instead of min_t() since we remove the latter
    from compat.h.

    Additionally use memalign() directly as the lin_gadget
    specific kmalloc() macro is removed from lin_gadget_compat.h
    by this patch.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Anatolij Gustschin
    Cc: Lukasz Majewski

    Mike Frysinger
     
  • This lets us use it in more places than just mtd code.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • No need to provide our own mdelay() macro when we have a func for it.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • This allows us to add a proper zalloc() func (one that does a zeroing
    alloc), and removes duplicate prototypes.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • * 'master' of /home/wd/git/u-boot/custodians:
    powerpc/85xx: don't touch MAS7 on e500v1 when relocating CCSR
    powerpc/85xx: don't display address map size (32-bit vs. 36-bit) during boot
    cmd_bdinfo: display the address map size (32-bit vs. 36-bit)
    PowerPC: correct the SATA for p1/p2 rdb-pc platform
    powerpc/corenet_ds: Slave core in holdoff when boot from SRIO
    powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO
    powerpc/corenet_ds: Slave uploads ucode when boot from SRIO
    powerpc/corenet_ds: Slave module for boot from SRIO
    powerpc/corenet_ds: Master module for boot from SRIO
    powerpc/corenet_ds: Document for the boot from SRIO
    powerpc/corenet_ds: Correct the compilation errors about ENV
    powerpc/srio: Rewrite the struct ccsr_rio
    powerpc/85xx:Fix lds for nand boot debug info
    powerpc/p2041rdb: add env in NAND support
    powerpc/p2041rdb: add NAND and NAND boot support
    powerpc/mpc8xxx: Fix CONFIG_DDR_RAW_TIMING for two boards
    powerpc/85xx:Avoid vector table compilation for nand_spl
    powerpc/85xx:Fix IVORs addr after vector table relocation
    powerpc/85xx:Avoid hardcoded vector address for IVORs
    powerpc/p1023rds: Disable nor flash node and enable nand flash node

    Wolfgang Denk
     
  • * 'master' of git://git.denx.de/u-boot-mpc85xx:
    powerpc/85xx: don't touch MAS7 on e500v1 when relocating CCSR
    powerpc/85xx: don't display address map size (32-bit vs. 36-bit) during boot
    cmd_bdinfo: display the address map size (32-bit vs. 36-bit)
    PowerPC: correct the SATA for p1/p2 rdb-pc platform
    powerpc/corenet_ds: Slave core in holdoff when boot from SRIO
    powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO
    powerpc/corenet_ds: Slave uploads ucode when boot from SRIO
    powerpc/corenet_ds: Slave module for boot from SRIO
    powerpc/corenet_ds: Master module for boot from SRIO
    powerpc/corenet_ds: Document for the boot from SRIO
    powerpc/corenet_ds: Correct the compilation errors about ENV
    powerpc/srio: Rewrite the struct ccsr_rio
    powerpc/85xx:Fix lds for nand boot debug info
    powerpc/p2041rdb: add env in NAND support
    powerpc/p2041rdb: add NAND and NAND boot support
    powerpc/mpc8xxx: Fix CONFIG_DDR_RAW_TIMING for two boards
    powerpc/85xx:Avoid vector table compilation for nand_spl
    powerpc/85xx:Fix IVORs addr after vector table relocation
    powerpc/85xx:Avoid hardcoded vector address for IVORs
    powerpc/p1023rds: Disable nor flash node and enable nand flash node

    Wolfgang Denk
     
  • * 'master' of /home/wd/git/u-boot/custodians:
    i2c:designware Turn off the ctrl when setting the speed
    i2c: Add support for designware i2c controller
    sh: i2c: Add support I2C controller of SH7734

    Wolfgang Denk
     
  • * 'master' of git://git.denx.de/u-boot-i2c:
    i2c:designware Turn off the ctrl when setting the speed
    i2c: Add support for designware i2c controller
    sh: i2c: Add support I2C controller of SH7734

    Wolfgang Denk
     
  • Putting "inline" on extern funcs makes no sense, so drop them.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • * 'master' of git://git.denx.de/u-boot-nds32:
    board/adp-ag102: add configuration of adp-ag102
    board/adp-ag102: add board specific files
    nds32/ag102: add ag102 soc support
    nds32/ag102: add header support of ag102 soc

    Wolfgang Denk
     
  • Signed-off-by: Dirk Eibach
    Cc: Stefan Roese
    Signed-off-by: Stefan Roese

    Dirk Eibach
     
  • Signed-off-by: Dirk Eibach
    Cc: Stefan Roese
    Signed-off-by: Stefan Roese

    Dirk Eibach
     
  • Signed-off-by: Dirk Eibach
    Cc: Stefan Roese
    Signed-off-by: Stefan Roese

    Dirk Eibach
     
  • In hardware revision 1.20 one more fan controller is added to dlvision-10g.

    Signed-off-by: Dirk Eibach
    Cc: Stefan Roese
    Signed-off-by: Stefan Roese

    Dirk Eibach
     
  • Print fpga info at last_stage_init on gdsys 405ep boards.
    Use dtt_init() to startup fans.

    Signed-off-by: Dirk Eibach
    Cc: Stefan Roese
    Signed-off-by: Stefan Roese

    Dirk Eibach
     
  • In order to add boards that have different hardware for fpga reset,
    any 405ep gdsys board now provides these functions:

    void gd405ep_init(void);
    void gd405ep_set_fpga_reset(unsigned state);
    void gd405ep_setup_hw(void);
    int gd405ep_get_fpga_done(unsigned fpga);

    Signed-off-by: Dirk Eibach
    Cc: Stefan Roese
    Signed-off-by: Stefan Roese

    Dirk Eibach
     
  • Environment size on neo has to be 0x20000 for compatibilty reasons.

    Signed-off-by: Dirk Eibach
    Cc: Stefan Roese
    Signed-off-by: Stefan Roese

    Dirk Eibach
     

29 Apr, 2012

2 commits

  • md5.c: In function ‘MD5Final’:
    md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

    Signed-off-by: Marek Vasut
    Cc: Wolfgang Denk
    Acked-by: Mike Frysinger

    Marek Vasut
     
  • * 'marex@denx.de' of git://git.denx.de/u-boot-staging:
    CMD: CONFIG_CMD_SETECPR -> CONFIG_CMD_SETEXPR on omap3_logic
    CMD: Fix CONFIG_CMD_SAVEBP_WRITE_SIZE -> CONFIG_CMD_SPL_WRITE_SIZE
    CMD: Fix typo CMD_FSL -> CMD_MFSL in readme
    HWW1U1A: Fix CMD_SHA1 -> CMD_SHA1SUM
    CMD: Remove CMD_LOG, it's unused
    CMD: Fix typo KGBD -> KGDB on debris board
    CMD: Drop CONFIG_CMD_EMMC, it's not used
    CMD: Drop CONFIG_CMD_DFL, it's not used
    CMD: Drop CMD_DCR, it's not used
    CMD: Drop CMD_CAN, it's not used
    CMD: Remove CMD_AUTOSCRIPT, it's not used
    AT91: Drop AT91_SPIMUX command from cmd_all

    Wolfgang Denk
     

25 Apr, 2012

10 commits

  • For p1/p2 rdb-pc platform, use the PCIe-SATA Silicon Image SATA controller.
    Therefore, the SATA driver will use sata_sil, instead sata_sil3114.

    Signed-off-by: Jerry Huang
    CC: Andy Fleming

    Jerry Huang
     
  • When boot from SRIO, slave's core can be in holdoff after powered on for
    some specific requirements. Master can release the slave's core at the
    right time by SRIO interface.

    Master needs to:
    1. Set outbound SRIO windows in order to configure slave's registers
    for the core's releasing.
    2. Check the SRIO port status when release slave core, if no errors,
    will implement the process of the slave core's releasing.
    Slave needs to:
    1. Set all the cores in holdoff by RCW.
    2. Be powered on before master's boot.

    Signed-off-by: Liu Gang
    Signed-off-by: Shaohui Xie

    Liu Gang
     
  • When boot from SRIO, slave's ENV can be stored in master's memory space,
    then slave can fetch the ENV through SRIO interface.

    NOTE: Because the slave can not erase, write master's NOR flash by SRIO
    interface, so it can not modify the ENV parameters stored in
    master's NOR flash using "saveenv" or other commands.

    Master needs to:
    1. Put the slave's ENV into it's own memory space.
    2. Set an inbound SRIO window covered slave's ENV stored in master's
    memory space.
    Slave needs to:
    1. Set a specific TLB entry in order to fetch ucode and ENV from master.
    2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode and ENV.

    Signed-off-by: Liu Gang
    Signed-off-by: Shaohui Xie

    Liu Gang
     
  • When boot from SRIO, slave's ucode can be stored in master's memory space,
    then slave can fetch the ucode image through SRIO interface. For the
    corenet platform, ucode is for Fman.

    Master needs to:
    1. Put the slave's ucode image into it's own memory space.
    2. Set an inbound SRIO window covered slave's ucode stored in master's
    memory space.
    Slave needs to:
    1. Set a specific TLB entry in order to fetch ucode from master.
    2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode.

    Signed-off-by: Liu Gang
    Signed-off-by: Shaohui Xie

    Liu Gang
     
  • For the powerpc processors with SRIO interface, boot location can be configured
    from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash
    for u-boot image. The image can be fetched from another processor's memory
    space by SRIO link connected between them.

    The processor boots from SRIO is slave, the processor boots from normal flash
    memory space and can help slave to boot from its memory space is master.
    They are different environments and requirements:

    master:
    1. NOR flash for its own u-boot image, ucode and ENV space.
    2. Slave's u-boot image in master NOR flash.
    3. Normally boot from local NOR flash.
    4. Configure SRIO switch system if needed.
    slave:
    1. Just has EEPROM for RCW. No flash for u-boot image, ucode and ENV.
    2. Boot location should be set to SRIO1 or SRIO2 by RCW.
    3. RCW should configure the SerDes, SRIO interfaces correctly.
    4. Slave must be powered on after master's boot.
    5. Must define CONFIG_SYS_QE_FMAN_FW_IN_REMOTE because of no ucode
    locally.

    For the slave module, need to finish these processes:
    1. Set the boot location to SRIO1 or SRIO2 by RCW.
    2. Set a specific TLB entry for the boot process.
    3. Set a LAW entry with the TargetID SRIO1 or SRIO2 for the boot.
    4. Slave's u-boot image should be generated specifically by
    make xxxx_SRIOBOOT_SLAVE_config.
    This will set SYS_TEXT_BASE=0xFFF80000 and other configurations.

    Signed-off-by: Liu Gang
    Signed-off-by: Shaohui Xie

    Liu Gang
     
  • For the powerpc processors with SRIO interface, boot location can be configured
    from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash
    for u-boot image. The image can be fetched from another processor's memory
    space by SRIO link connected between them.

    The processor boots from SRIO is slave, the processor boots from normal flash
    memory space and can help slave to boot from its memory space is master.
    They are different environments and requirements:

    master:
    1. NOR flash for its own u-boot image, ucode and ENV space.
    2. Slave's u-boot image in master NOR flash.
    3. Normally boot from local NOR flash.
    4. Configure SRIO switch system if needed.
    slave:
    1. Just has EEPROM for RCW. No flash for u-boot image, ucode and ENV.
    2. Boot location should be set to SRIO1 or SRIO2 by RCW.
    3. RCW should configure the SerDes, SRIO interfaces correctly.
    4. Slave must be powered on after master's boot.

    For the master module, need to finish these processes:
    1. Initialize the SRIO port and address space.
    2. Set inbound SRIO windows covered slave's u-boot image stored in
    master's NOR flash.
    3. Master's u-boot image should be generated specifically by
    make xxxx_SRIOBOOT_MASTER_config
    4. Master must boot first, and then slave can be powered on.

    Signed-off-by: Liu Gang
    Signed-off-by: Shaohui Xie

    Liu Gang
     
  • When defined CONFIG_ENV_IS_NOWHERE, there will be some
    compilation errors:

    ./common/env_nowhere.o: In function `env_relocate_spec':
    ./common/env_nowhere.c:38: multiple definition of `env_relocate_spec'
    ./common/env_flash.o: ./common/env_flash.c:326: first defined here
    ./common/env_nowhere.o: In function `env_get_char_spec':
    ./common/env_nowhere.c:42: multiple definition of `env_get_char_spec'
    ./common/env_flash.o:./common/env_flash.c:78: first defined here
    ./common/env_nowhere.o: In function `env_init':
    ./common/env_nowhere.c:51: multiple definition of `env_init'
    ./common/env_flash.o:./common/env_flash.c:237: first defined here
    make[1]: *** [./common/libcommon.o] Error 1
    make[1]: Leaving directory `./common'
    make: *** [./common/libcommon.o] Error 2

    Remove the CONFIG_ENV_IS_IN_FLASH if defined CONFIG_ENV_IS_NOWHERE.

    Signed-off-by: Liu Gang

    Liu Gang
     
  • Add env in NAND support when boot from NAND.

    Signed-off-by: Shaohui Xie
    Signed-off-by: Andy Fleming

    Shaohui Xie
     
  • New P2041RDB board will add a NAND chip, so add support for NAND and
    NAND boot.

    Signed-off-by: Shaohui Xie
    Signed-off-by: Andy Fleming

    Shaohui Xie
     
  • P1010RDB and p1_pc_rdb_pc has incorrect configuration for
    CONFIG_DDR_RAW_TIMING. It should be CONFIG_SYS_DDR_RAW_TIMING.
    Incorrect setting causes DDR failure in case of SPD absent.

    Signed-off-by: York Sun
    Signed-off-by: Andy Fleming

    York Sun
     

24 Apr, 2012

1 commit

  • Earlier, a driver exists in the u-boot source for designware i2c interface. That
    driver was specific to spear platforms. This patch implements the i2c controller
    as a generic driver which can be used by multiple platforms

    The driver files are now renamed to designware_i2c.c and designware_i2c.h and
    these are moved into drivers/i2c folder for reusability by other
    platforms

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

    Vipin KUMAR
     

22 Apr, 2012

1 commit


21 Apr, 2012

1 commit


20 Apr, 2012

2 commits