Skip to content
Snippets Groups Projects
  1. Jun 17, 2010
  2. Jun 14, 2010
  3. Jun 13, 2010
    • Wolfgang Denk's avatar
      Makefile/mkconfig: read simple board configurations from boards.cfg · a6862bc1
      Wolfgang Denk authored
      
      Instead of adding explicit build rules for each and every board to the
      top level Makefile (which makes it grow and grow), we now provide a
      simple default rule and extend the "mkconfig" script to read board
      configurations from a plain text file (table), "boards.cfg".
      
      For simple boards it is now sufficient to add a single line of text to
      the "boards.cfg" file, no changes to the top level Makefile are needed
      any more.
      
      To make the table better readable, change the notation for unused
      fields from "NULL" into "-".
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      a6862bc1
    • Wolfgang Denk's avatar
      Makefile: simplify handling of common board configurations · 8c994630
      Wolfgang Denk authored
      
      Many boards don't need any special handling in the Makefile. Try and
      provide as generic make rules for these as possible.  There are still
      many areas where this does not work out really well, but the changes
      show the direction we should take, and point out which boards or
      architectures need further cleanup.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      8c994630
    • Wolfgang Denk's avatar
      Makefile: simplify handling of build target names · ed7a196c
      Wolfgang Denk authored
      
      Instead of stripping the "_config" part from the make target names in
      each call of the "mkconfig" script let this script strip the string.
      
      This prepares the ground for forther simplification of the top level
      Makefile.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      ed7a196c
    • Wolfgang Denk's avatar
      Fix printing of make targets, simplify Makefile · 0e42ada3
      Wolfgang Denk authored
      
      Make printing the "board names" more useful. So far, we would get
      output like this;
      
      $ ./MAKEALL P2020RDB P2020RDB_NAND P2020RDB_SDCARD P2020RDB_SPIFLASH
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       342612   32656  265212  640480   9c5e0 /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       343160   32704  265212  641076   9c834 /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      
      For all build targets the same board name would be printed, which
      makes is often pretty difficult to find out which exact build target
      caused problems. With this commit, the real make target name gets
      printed instead, which is way more useful:
      
      $ ./MAKEALL P2020RDB P2020RDB_NAND P2020RDB_SDCARD P2020RDB_SPIFLASH
      Configuring for P2020RDB board...
         text    data     bss     dec     hex filename
       342612   32656  265212  640480   9c5e0 /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_NAND board...
         text    data     bss     dec     hex filename
       343160   32704  265212  641076   9c834 /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_SDCARD board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_SPIFLASH board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      Tested-by: default avatarThomas Chou <thomas@wytron.com.tw>
      0e42ada3
    • Wolfgang Denk's avatar
      Prepare v2010-rc2 · a9046b9e
      Wolfgang Denk authored
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      a9046b9e
    • Marek Vasut's avatar
      PXA: Add missing MDREFR bits · bb596e84
      Marek Vasut authored
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      bb596e84
    • Marek Vasut's avatar
      PXA: Add UP2OCR register bit definitions · 52dc45e5
      Marek Vasut authored
      
      This register is used on PXA to control the USB Port2 operation (USB Port2 is
      the host port).
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      52dc45e5
    • Marek Vasut's avatar
      PXA: PXAMMC: Add Monahans support · 43c15d3d
      Marek Vasut authored
      
      This patch enables PXAMCI support on PXA3xx CPUs. This patch only enables MMC1
      though, MMC2 and PXA31x MMC3 will need further patch to be operational.
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      43c15d3d
    • Marek Vasut's avatar
      PXA: PXAMMC: Drop different delays for PXA27X · 55429a03
      Marek Vasut authored
      
      In case the delays were set to 10000, the MMC card on PXA27X boards (and PXA3xx
      boards) didn't initialize on first try. Increasing the delays and leaving just
      those for PXA25x and 26x (that is 200000) fixes this problem.
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      55429a03
    • Marek Vasut's avatar
      PXA: Align stack to 8 bytes · 3a96ad85
      Marek Vasut authored
      
      Part of this patch is by: Mikhail Kshevetskiy.
      
      Stack must be aligned to 8 bytes on PXA (possibly all armv5te) for LDRD/STRD
      instructions. In case LDRD/STRD is issued on an unaligned address, the behaviour
      is undefined.
      
      The issue was observed when working with the NAND code, which was rendered
      disfunctional. Also, the vsprintf() function had serious problems with printing
      64bit wide long longs. After aligning the stack, this wrong behaviour is no
      longer present.
      
      Tested on:
      	Marvell Littleton PXA310 board
      	Toradex Colibri PXA320 board
      	Aeronix Zipit Z2 PXA270 handheld
      	Voipac PXA270 board
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      3a96ad85
  4. Jun 10, 2010
  5. Jun 08, 2010
Loading