Skip to content
Snippets Groups Projects
  1. Dec 05, 2009
    • Ingo van Lil's avatar
      Generic udelay() with watchdog support · 3eb90bad
      Ingo van Lil authored
      
      According to the PPC reference implementation the udelay() function is
      responsible for resetting the watchdog timer as frequently as needed.
      Most other architectures do not meet that requirement, so long-running
      operations might result in a watchdog reset.
      
      This patch adds a generic udelay() function which takes care of
      resetting the watchdog before calling an architecture-specific
      __udelay().
      
      Signed-off-by: default avatarIngo van Lil <inguin@gmx.de>
      3eb90bad
  2. Nov 23, 2009
  3. Oct 29, 2009
  4. Sep 04, 2009
  5. Jul 20, 2009
  6. Jul 17, 2009
    • Jean-Christophe PLAGNIOL-VILLARD's avatar
      stdio/device: rework function naming convention · 52cb4d4f
      Jean-Christophe PLAGNIOL-VILLARD authored
      
      So far the console API uses the following naming convention:
      
      	======Extract======
      	typedef struct device_t;
      
      	int	device_register (device_t * dev);
      	int	devices_init (void);
      	int	device_deregister(char *devname);
      	struct list_head* device_get_list(void);
      	device_t* device_get_by_name(char* name);
      	device_t* device_clone(device_t *dev);
      	=======
      
      which is too generic and confusing.
      
      Instead of using device_XX and device_t we change this
      into stdio_XX and stdio_dev
      
      This will also allow to add later a generic device mechanism in order
      to have support for multiple devices and driver instances.
      
      Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      
      Edited commit message.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      52cb4d4f
  7. Jun 12, 2009
    • Stefan Roese's avatar
      lib_arch/board.c: Move malloc initialization before flash_init() · c790b04d
      Stefan Roese authored
      
      This patch moves the malloc initialization before calling flash_init().
      Upcoming changes to the NOR FLASH common CFI driver with optional
      MTD infrastructure and MTD concatenation support will call malloc().
      And nothing really speaks against enabling malloc just a little earlier
      in the boot stage. Some architectures already enable malloc before
      calling flash_init() so they don't need any changes here.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Scott McNutt <smcnutt@psyent.com>
      Cc: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Cc: John Rigby <jcrigby@gmail.com>
      c790b04d
  8. Mar 20, 2009
    • Mike Frysinger's avatar
      lib_*/board.c: do not initialize bi_enet*addr in global data · 19b5b533
      Mike Frysinger authored
      
      Since everyone is using the environment for mac address storage, there is
      no point in seeding the global data.
      
      The arches that are converted here:
      	i386
      	m68k
      	microblaze
      	mips
      	nios
      	nios2
      	sh
      	sparc
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      CC: Daniel Hellstrom <daniel@gaisler.com>
      CC: Michal Simek <monstr@seznam.cz>
      CC: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
      CC: Scott McNutt <smcnutt@psyent.com>
      CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      19b5b533
  9. Oct 18, 2008
  10. Aug 26, 2008
    • Kumar Gala's avatar
      bootm: refactor do_reset and os boot function args · 40d7e99d
      Kumar Gala authored
      
      There is no need for each OS specific function to call do_reset() we
      can just do it once in bootm. This means its feasible on an error for
      the OS boot function to return.
      
      Also, remove passing in cmd_tbl_t as its not needed by the OS boot
      functions.  flag isn't currently used but might be in the future so
      we left it alone.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      40d7e99d
  11. May 20, 2008
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      
      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: default avatarWolfgang Denk <wd@denx.de>
      53677ef1
  12. Apr 18, 2008
    • Mike Frysinger's avatar
      allow ports to override go behavior · a4986459
      Mike Frysinger authored
      Split the arch-specific logic out of the common go code and into a dedicated
      weak function called do_go_exec() that lives in cpu directories.  This will
      need review from i386/nios people to make sure I didn't break them.
      a4986459
  13. Feb 27, 2008
  14. Feb 25, 2008
    • Marian Balakowicz's avatar
      [new uImage] Add dual format uImage support framework · d5934ad7
      Marian Balakowicz authored
      
      This patch adds framework for dual format images. Format detection is added
      and the bootm controll flow is updated to include cases for new FIT format
      uImages.
      
      When the legacy (image_header based) format is detected appropriate
      legacy specific handling is invoked. For the new (FIT based) format uImages
      dual boot framework has a minial support, that will only print out a
      corresponding debug messages. Implementation of the FIT specific handling will
      be added in following patches.
      
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      d5934ad7
  15. Feb 07, 2008
    • Marian Balakowicz's avatar
      [new uImage] Rename architecture specific bootm code files · 4a995ede
      Marian Balakowicz authored
      
      Implementation of the do_bootm_linux() and other bootm helper routines is
      architecture specific code. As such it resides in lib_<arch> directories
      in files named <arch>_linux.c
      
      This patch renames those files to a more clear and accurate
      lib_<arch>/bootm.c form.
      
      List of the renamed files:
         lib_arm/armlinux.c -> lib_arm/bootm.c
         lib_avr32/avr32_linux.c -> lib_avr32/bootm.c
         lib_blackfin/bf533_linux.c -> lib_blackfin/bootm.c
         lib_i386/i386_linux.c -> lib_i386/bootm.c
         lib_m68k/m68k_linux.c -> lib_m68k/bootm.c
         lib_microblaze/microblaze_linux.c -> lib_microblaze/bootm.c
         lib_mips/mips_linux.c -> lib_mips/bootm.c
         lib_nios/nios_linux.c -> lib_nios/bootm.c
         lib_nios2/nios_linux.c -> lib_nios2/bootm.c
         lib_ppc/ppc_linux.c -> lib_ppc/bootm.c
         lib_sh/sh_linux.c -> lib_sh/bootm.c
      
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      4a995ede
    • Marian Balakowicz's avatar
      [new uImage] Cleanup image header pointer use in bootm code · f13e7b2e
      Marian Balakowicz authored
      
      - use single image header pointer instead of a set of auxilliary variables.
      - add multi component image helper routines: get component size/data address
      
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      f13e7b2e
  16. Oct 08, 2006
  17. Sep 01, 2006
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  18. Mar 31, 2006
  19. Jul 01, 2004
  20. May 19, 2004
  21. Feb 23, 2004
    • Wolfgang Denk's avatar
      * Patch by Peter Ryser, 20 Feb 2004: · 028ab6b5
      Wolfgang Denk authored
        Add support for the Xilinx ML300 platform
      
      * Patch by Stephan Linz, 17 Feb 2004:
        Fix watchdog support for NIOS
      
      * Patch by Josh Fryman, 16 Feb 2004:
        Fix byte-swapping for cfi_flash.c for different bus widths
      
      * Patch by Jon Diekema, 14 Jeb 2004:
        Remove duplicate "FPGA Support" notes from the README file
      028ab6b5
  22. Feb 09, 2004
    • Wolfgang Denk's avatar
      Patches by Stephan Linz, 30 Jan 2004: · ec4c544b
      Wolfgang Denk authored
      1: - board/altera/common/flash.c:flash_erase():
           o allow interrupts befor get_timer() call
           o check-up each erased sector and avoid unexpected timeouts
         - board/altera/dk1c20/dk1s10.c:board_early_init_f():
           o enclose sevenseg_set() in cpp condition
         - remove the ASMI configuration for DK1S10_standard_32 (never present)
         - fix some typed in mistakes in the NIOS documentation
      2: - split DK1C20 configuration into several header files:
           o two new files for each NIOS CPU description
           o U-Boot related part is remaining in DK1C20.h
      3: - split DK1S10 configuration into several header files:
           o two new files for each NIOS CPU description
           o U-Boot related part is remaining in DK1S10.h
      4: - Add support for the Microtronix Linux Development Kit
           NIOS CPU configuration at the Altera Nios Development Kit,
           Stratix Edition (DK-1S10)
      5: - Add documentation for the Altera Nios Development Kit,
           Stratix Edition (DK-1S10)
      6: - Add support for the Nios Serial Peripharel Interface (SPI)
           (master only)
      7: - Add support for the common U-Boot SPI framework at
           RTC driver DS1306
      ec4c544b
  23. Jan 20, 2004
    • Wolfgang Denk's avatar
      * The PS/2 mux on the BMS2003 board needs 450 ms after power on · c837dcb1
      Wolfgang Denk authored
        before we can access it; add delay in case we are faster (with no
        CF card inserted)
      
      * Cleanup of some init functions
      
      * Make sure SCC Ethernet is always stopped by the time we boot Linux
        to avoid Linux crashes by early packets coming in.
      
      * Accelerate flash accesses on LWMON board by using buffered writes
      c837dcb1
  24. Jan 03, 2004
    • Wolfgang Denk's avatar
      Patches by Stephan Linz, 11 Dec 2003: · c935d3bd
      Wolfgang Denk authored
      - more documentation for NIOS port
      - new struct nios_pio_t, struct nios_spi_t
      - Reconfiguration for NIOS Development Kit DK1C20:
        o move board related code from board/dk1c20
          to board/altera/dk1c20
        o create a new common source path board/altera/common
          and move generic flash access stuff into it
        o change/expand configuration file DK1C20.h
      - Add support for NIOS Development Kit DK1S10
      - Add status LED support for NIOS systems
      - Add dual 7-segment LED support for Altera NIOS DevKits
      c935d3bd
  25. Jan 02, 2004
    • Wolfgang Denk's avatar
      * Cleanup lowboot code for MPC5200 · d4ca31c4
      Wolfgang Denk authored
      * Minor code cleanup (coding style)
      
      * Patch by Reinhard Meyer, 30 Dec 2003:
        - cpu/mpc5xxx/fec.c: added CONFIG_PHY_ADDR, added CONFIG_PHY_TYPE,
        - added CONFIG_PHY_ADDR to include/configs/IceCube.h,
        - turned debug print of PHY registers into a function (called in two places)
        - added support for EMK MPC5200 based modules
      
      * Fix MPC8xx PLPRCR_MFD_SHIFT typo
      
      * Add support for TQM866M modules
      
      * Fixes for TQM855M with 4 MB flash (Am29DL163 = _no_ mirror bit flash)
      
      * Fix a few compiler warnings
      d4ca31c4
  26. Oct 28, 2003
    • Wolfgang Denk's avatar
      * Patch by Stephan Linz, 28 Oct 2003: · a0f2fe52
      Wolfgang Denk authored
        fix init sequence error for NIOS port
      
      * Allow lowercase spelling for IceCube_5200; support MPC5200LITE name
      
      * Add CONFIG_VERSION_VARIABLE to TRAB configuration
      a0f2fe52
  27. Oct 19, 2003
    • Wolfgang Denk's avatar
      * Patch by Steven Scholz, 18 Oct 2003: · a3ad8e26
      Wolfgang Denk authored
        Fix AT91RM9200 ethernet driver
      
      * Patch by Nye Liu, 17 Oct 2003:
        Fix typo in include/mpc8xx.h
      
      * Patch by Richard Woodruff, 16 Oct 03:
        Fixes for cpu/arm925/interrupt.c
        - Initialize timestamp & lastdec vars.
        - fix timestamp overflows.
        - fix lastdec overflow.
        - smarter normalization to allow udelay() below 1ms to work.
      
      * Patch by Scott McNutt, 16 Oct
        add networking support for the Altera Nios Development Kit,
        Cyclone Edition (DK-1C20)
      
      * Patch by Jon Diekema, 14 Oct 2003:
        add hint about doc/README.silent to README file
      a3ad8e26
  28. Oct 08, 2003
    • Wolfgang Denk's avatar
      * Patch by Scott McNutt, 04 Oct 2003: · 4a551709
      Wolfgang Denk authored
        - add support for Altera Nios-32 CPU
        - add support for Nios Cyclone Development Kit (DK-1C20)
      
      * Patch by Steven Scholz, 29 Sep 2003:
        - A second parameter for bootm overwrites the load address for
          "Standalone Application" images.
        - bootm sets environment variable "filesize" to the resulting
          (uncompressed) data length for "Standalone Application" images
          when autostart is set to "no". Now you can do something like
             if bootm $fpgadata $some_free_ram ; then
                     fpga load 0 $some_free_ram $filesize
             fi
      
      * Patch by Denis Peter, 25 Sept 2003:
        add support for the MIP405 Rev. C board
      4a551709
Loading