Skip to content
Snippets Groups Projects
  1. Mar 15, 2013
    • Simon Glass's avatar
      avr32: Fix cast warning in board.c · 81e2ff0b
      Simon Glass authored
      
      The frame buffer pointer in global_data is not a pointer, so we should
      remove these casts.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
      81e2ff0b
    • Simon Glass's avatar
      Introduce generic link section.h symbol files · 18652864
      Simon Glass authored
      
      We create a separate header file for link symbols defined by the link
      scripts. It is helpful to have these all in one place and try to
      make them common across architectures. Since Linux already has a similar
      file, we bring this in even though many of the symbols there are not
      relevant to us.
      
      Each architecture has its own asm/sections.h where symbols specifc to
      that architecture can be added. For now everything except AVR32 just
      includes the generic header.
      
      One change is needed in arch/avr32/lib/board.c to make this conversion
      work.
      
      Reviewed-by: Tom Rini <trini@ti.com> (version 5)
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      18652864
    • Simon Glass's avatar
      Replace __bss_end__ with __bss_end · 3929fb0a
      Simon Glass authored
      
      Note this is a tree-wide change affecting multiple architectures.
      
      At present we use __bss_start, but mostly __bss_end__. This seems
      inconsistent and in a number of places __bss_end is used instead.
      
      Change to use __bss_end for the BSS end symbol throughout U-Boot. This
      makes it possible to use the asm-generic/sections.h file on all
      archs.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      3929fb0a
  2. Feb 19, 2013
    • Gabor Juhos's avatar
      malloc: make malloc_bin_reloc static · 7b395232
      Gabor Juhos authored
      
      On architectures where manual relocation
      is needed, the 'malloc_bin_reloc' function
      must be called after 'mem_malloc_init'.
      
      Make the 'malloc_bin_reloc' function static
      and call it directly from 'mem_malloc_init'
      instead of calling that from board_init_{r,f}
      functions of the affected architectures.
      
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Andreas Bießmann <andreas.devel@gmail.com>
      Cc: Jason Jin <Jason.jin@freescale.com>
      Cc: Macpaul Lin <macpaul@andestech.com>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      7b395232
  3. Feb 04, 2013
  4. Oct 22, 2012
    • Marek Vasut's avatar
      common: Convert the U-Boot commands to LG-arrays · 6c7c946c
      Marek Vasut authored
      
      This patch converts the old method of creating a list of command
      onto the new LG-arrays code. The old u_boot_cmd section is converted
      to new u_boot_list_cmd subsection and LG-array macros used as needed.
      
      Minor adjustments had to be made to the common code to work with the
      LG-array macros, mostly the fixup_cmdtable() calls are now passed the
      ll_entry_start and ll_entry_count instead of linker-generated symbols.
      
      The command.c had to be adjusted as well so it would use the newly
      introduced LG-array API instead of directly using linker-generated
      symbols.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      6c7c946c
  5. Sep 26, 2012
  6. Jun 04, 2012
  7. May 15, 2012
  8. Mar 13, 2012
  9. Oct 23, 2011
  10. Oct 05, 2011
    • Mike Frysinger's avatar
      net: drop !NET_MULTI code · e2a53458
      Mike Frysinger authored
      
      This is long over due.  All but two net drivers have been converted, but
      those have now been dropped.
      
      The only thing left to do is actually delete all references to NET_MULTI
      and code that is compiled when that is not defined.  So here we scrub the
      core code.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      e2a53458
  11. Aug 01, 2011
  12. Jul 28, 2011
  13. Mar 27, 2011
  14. Oct 29, 2010
  15. Oct 19, 2010
  16. Sep 19, 2010
    • Heiko Schocher's avatar
      relocation: fixup cmdtable · 620f1f6a
      Heiko Schocher authored
      
      fixup_cmdtable() did all work for fixing up the cmdtable,
      if CONFIG_RELOC_FIXUP_WORKS is not defined.
      
      CONFIG_RELOC_FIXUP_WORKS is missing for i386! I talked
      with Graeme Russ, and he will fix this soon.
      
      Portions of this work were supported by funding from
      the CE Linux Forum.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      620f1f6a
  17. Sep 03, 2010
    • Haavard Skinnemoen's avatar
      avr32: Add simple paging support · 1f36f73f
      Haavard Skinnemoen authored
      
      Use the MMU hardware to set up 1:1 mappings between physical and virtual
      addresses. This allows us to bypass the cache when accessing the flash
      without having to do any physical-to-virtual address mapping in the CFI
      driver.
      
      The virtual memory mappings are defined at compile time through a sorted
      array of virtual memory range objects. When a TLB miss exception
      happens, the exception handler does a binary search through the array
      until it finds a matching entry and loads it into the TLB. The u-boot
      image itself is covered by a fixed TLB entry which is never replaced.
      
      This makes the 'saveenv' command work again on ATNGW100 and other boards
      using the CFI driver, hopefully without breaking any rules.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      1f36f73f
  18. Aug 03, 2010
    • Wolfgang Denk's avatar
      Rename getenv_r() into getenv_f() · cdb74977
      Wolfgang Denk authored
      
      While running from flash, i. e. before relocation, we have only a
      limited C runtime environment without writable data segment. In this
      phase, some configurations (for example with environment in EEPROM)
      must not use the normal getenv(), but a special function.  This
      function had been called getenv_r(), with the idea that the "_r"
      suffix would mean the same as in the _r_eentrant versions of some of
      the C library functions (for example getdate vs. getdate_r, getgrent
      vs. getgrent_r, etc.).
      
      Unfortunately this was a misleading name, as in U-Boot the "_r"
      generally means "running from RAM", i. e. _after_ relocation.
      
      To avoid confusion, rename into getenv_f() [as "running from flash"]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      cdb74977
  19. Jun 29, 2010
  20. Apr 13, 2010
  21. Oct 11, 2009
  22. Oct 03, 2009
  23. Sep 04, 2009
  24. Jul 26, 2009
    • Anatolij Gustschin's avatar
    • Mark Jackson's avatar
      Add AVR32 LCD support · 716ece1d
      Mark Jackson authored
      
      This patch adds support for the AVR32 LCD controller.  This patch is
      based off the latest u-boot-video.
      
      A quick summary of what's going on:-
      
      Enable LCDC pixel clock
      Enable LCDC port pins
      Add framebuffer pointer to global_data struct
      Allocate framebuffer
      
      To use the new code, update your board config to include something like
      this:-
      
      #define CONFIG_LCD			1
      
      #if defined(CONFIG_LCD)
      #define CONFIG_CMD_BMP
      #define CONFIG_ATMEL_LCD		1
      #define LCD_BPP				LCD_COLOR16
      #define CONFIG_BMP_16BPP		1
      #define CONFIG_FB_ADDR			0x10600000
      #define CONFIG_WHITE_ON_BLACK		1
      #define CONFIG_VIDEO_BMP_GZIP 		1
      #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE		262144
      #define CONFIG_ATMEL_LCD_BGR555		1
      #define CONFIG_SYS_CONSOLE_IS_IN_ENV	1
      #define CONFIG_SPLASH_SCREEN		1
      #endif
      
      The standard U-Boot BMP and Splash-screen features should just work.
      
      Signed-off-by: default avatarMark Jackson <mpfj@mimc.co.uk>
      [agust@denx.de: fixed some style issues]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      716ece1d
  25. 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
  26. Feb 23, 2009
  27. Dec 06, 2008
  28. Oct 18, 2008
  29. Sep 10, 2008
  30. Sep 01, 2008
Loading