Skip to content
Snippets Groups Projects
  1. Sep 04, 2009
  2. Jul 20, 2009
  3. 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
  4. 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
  5. 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
  6. Oct 28, 2008
    • Kumar Gala's avatar
      bootm: Add subcommands · 49c3a861
      Kumar Gala authored
      
      Add the ability to break the steps of the bootm command into several
      subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go.
      
      This allows us to do things like manipulate device trees before
      they are passed to a booting kernel or setup memory for a secondary
      core in multicore situations.
      
      Not all OS types support all subcommands (currently only start, loados,
      ramdisk, fdt, and go are supported).
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      49c3a861
  7. Oct 18, 2008
  8. Sep 10, 2008
  9. Aug 26, 2008
  10. Aug 11, 2008
  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
  13. Mar 12, 2008
  14. Feb 29, 2008
  15. Feb 27, 2008
  16. 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
  17. 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
    • Marian Balakowicz's avatar
      [new uImage] Define a API for image handling operations · b97a2a0a
      Marian Balakowicz authored
      
      - Add inline helper macros for basic header processing
      - Move common non inline code common/image.c
      - Replace direct header access with the API routines
      - Rename IH_CPU_* to IH_ARCH_*
      
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      b97a2a0a
  18. Oct 08, 2006
  19. 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
  20. Jun 08, 2006
    • Scott McNutt's avatar
      Nios II - Add EPCS Controller bootrom work-around · 1f6ce8f5
      Scott McNutt authored
        -When booting from an epcs controller, the epcs bootrom may leave the
        slave select in an asserted state causing soft reset hang. This
        patch ensures slave select is negated at reset.
        Patch by Scott McNutt, 08 Jun 2006
      1f6ce8f5
  21. Apr 20, 2006
  22. Mar 31, 2006
  23. Mar 30, 2005
    • Wolfgang Denk's avatar
      * Patch by Scott McNutt, 21 Oct 2004: · 0c1c117c
      Wolfgang Denk authored
        Add support for Nios-II EPCS Controller core.
      
      * Patch by Scott McNutt, 20 Oct 2004:
        Nios-II cleanups:
        - Add sysid command (Nios-II only).
        - Locate default exception trampoline at proper offset.
        - Implement I/O routines (readb, writeb, etc)
        - Implement do_bootm_linux
      0c1c117c
  24. Oct 10, 2004
Loading