Merge with /home/wd/git/u-boot/master
authorWolfgang Denk <wd@pollux.denx.de>
Mon, 26 Jun 2006 08:02:52 +0000 (10:02 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Mon, 26 Jun 2006 08:02:52 +0000 (10:02 +0200)
1  2 
CHANGELOG
Makefile
README
include/configs/trab.h

diff --combined CHANGELOG
+++ b/CHANGELOG
  Changes since U-Boot 1.1.4:
  ======================================================================
  
 +* Code cleanup
 +
 +* Various USB related patches
 +  - Add support for mpc8xx USB device.
 +  - Add support for Common Device Class - Abstract Control Model USB console.
 +  - Add support for flow control in USB slave devices.
 +  - Add support for switching between gserial and cdc_acm using environment.
 +  - Minor changes to usbdcore_omap1510.c usbdcore_omap1510.h
 +  - Update usbcore slightly to ease host enumeration.
 +  - Fix non-portable endian problems in usbdcore and usbdcore_ep0.
 +  - Add AdderUSB_config as a defconfig to enable usage of the USB console
 +    by default with the Adder87x U-Boot port.
 +  Patch by Bryan O'Donoghue <bodonoghue@codehermit.ie>, 29 May 2006
 +
+ * VoiceBlue update: use new MTD flash partitioning methods, use more
+   reasonable TEXT_BASE, update default environment and enable keyed
+   autoboot.
+   Patch by Ladislav Michl, 16. Aug 2005 
+ * Add forgotten changes for the PLEB 2 Board.
+   Patch by David Snowdon, 13. Aug 2005
+ * Add support for wrPPMC7xx/74xx boards
+   Patch by Richard Danter, 12 Aug 2005
+  
+ * Add support for gth2 board
+   Patch by Thomas Lange, Aug 11 2005
+ * Add support for CONFIG_SERIAL_MULTI on MPC5xxx
+   Patch by Martin Krause, 8 Jun 2006
+   This patch supports two serial consoles on boards with
+   a MPC5xxx CPU. The console can be switched at runtime
+   by setting stdin, stdout and stderr to the desired serial
+   interface (serial0 or serial1). The PSCs to be used as
+   console port are definded by CONFIG_PSC_CONSOLE
+   and CONFIG_PSC_CONSOLE2.
+   See README.serial_multi for details.
+ * Bugfix in I2C initialisation on S3C2400.
+   If the bus is blocked because of a previously interrupted
+   transfer, up to eleven clocks are generated on the I2CSCL
+   line to complete the transfer and to free the bus.
+   With this fix pin I2CSCL (PG6) is really configured as GPIO
+   so the clock pulses are really generated.
+   Patch by Martin Krause, 04 Apr 2006
+   
+ * Fix DDR6 errata on TQM834x boards
+   Patch by Thomas Waehner, 07 Mar 2006
+ * Remove obsolete flash driver board/tqm5200/flash.c
+   Patch by Martin Krause, 11 Jan 2006
+ * Update configuration for CMC-PU2 board
+   Patch by Martin Krause, 17 Nov 2005
+ * Add support for PS/2 keyboard on TQM85xx board
+   Patch by Martin Krause, 07 Nov 2005
+   Tested on a STK85XX baseboard. Make sure the PS/2 controller
+   has been programmed. Jumper Settings: X66 1-2, 9-10; X61 2-3
+ * Fix TRAB channel switching delay for trab_fkt.bin standalone applikation
+   In tsc2000_read_channel() the delay after setting the multiplexer 
+   to a temperature channel is increased from 1,5 ms to 10 ms. This
+   is to allow the multiplexer inputs to stabilize after huge steps
+   of the input signal level.
+   Patch by Martin Krause, 08 Nov 2005
+ * Adjust TQM5200 make targets
+   Make the automatic CS configuration the default.
+   The dedicated configurations CONFIG_TQM5200_AA, CONFIG_TQM5200_AB
+   and CONFIG_TQM5200_AC are removed.
+   "TQM5200_config" is now the default for STK52XX.200 base boards.
+   On a STK52XX.100 base board "TQM5200_STK100_config" must be used.
+   Patch by Martin Krause, 07 Nov 2005
+ * Fix setting of environment variable "ver" on trab board
+   The environment variable "ver" is now set before
+   do_auto_update() is called, so that "ver" can be used
+   in USB update scripts.
+   Patch by Martin Krause, 27 Oct 2005
+ * Fix wrong usage of udelay() in led_blink() on trab board
+   Patch by Martin Krause, 27 Oct 2005
+ * Fix udelay bug in vfd.c for trab board
+   Patch by Martin Krause, 27 Oct 2005
+ * Disable JFFS2 support for trab board
+   Patch by Martin Krause, 27 Oct 2005
+ * Change mtdparts definition on trab board to match current flash map
+   Patch by Martin Krause, 27 Oct 2005
+ * Fix memory init problems on MCC200 board
  * Fix IxEthDB.h to compile again
    Patch by Stefan Roese, 14 Jun 2006
  
diff --combined Makefile
+++ b/Makefile
@@@ -58,7 -58,7 +58,7 @@@ ifeq ($(HOSTARCH),ppc
  CROSS_COMPILE =
  else
  ifeq ($(ARCH),ppc)
 -CROSS_COMPILE = powerpc-linux-
 +CROSS_COMPILE = ppc_8xx-
  endif
  ifeq ($(ARCH),arm)
  CROSS_COMPILE = arm-linux-
@@@ -356,8 -356,8 +356,8 @@@ smmaco4_config: unconfi
        @./mkconfig -a smmaco4 ppc mpc5xxx tqm5200
  
  spieval_config:       unconfig
-       echo "#define CONFIG_CS_AUTOCONF">>include/config.h
-       echo "... with automatic CS configuration"
+       @echo "#define CONFIG_CS_AUTOCONF">>include/config.h
+       @echo "... with automatic CS configuration"
        @./mkconfig -a spieval ppc mpc5xxx tqm5200
  
  MINI5200_config       \
@@@ -394,35 -394,20 +394,20 @@@ Total5200_Rev2_lowboot_config:  unconfi
                }
        @./mkconfig -a Total5200 ppc mpc5xxx total5200
  
- TQM5200_auto_config   \
- TQM5200_AA_config     \
- TQM5200_AB_config     \
- TQM5200_AC_config     \
+ TQM5200_config        \
+ TQM5200_STK100_config \
  MiniFAP_config:       unconfig
        @ >include/config.h
        @[ -z "$(findstring MiniFAP,$@)" ] || \
                { echo "#define CONFIG_MINIFAP" >>include/config.h ; \
-                 echo "#define CONFIG_TQM5200_AC"      >>include/config.h ; \
                  echo "... TQM5200_AC on MiniFAP" ; \
                }
-       @[ -z "$(findstring AA,$@)" ] || \
-               { echo "#define CONFIG_TQM5200_AA"      >>include/config.h ; \
-                 echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \
-               }
-       @[ -z "$(findstring AB,$@)" ] || \
-               { echo "#define CONFIG_TQM5200_AB"      >>include/config.h ; \
-                 echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \
-                 echo "... with Graphics Controller"; \
-               }
-       @[ -z "$(findstring AC,$@)" ] || \
-               { echo "#define CONFIG_TQM5200_AC"      >>include/config.h ; \
-                 echo "... with 4 MB Flash, 128 MB SDRAM" ; \
-                 echo "... with Graphics Controller"; \
-               }
-       @[ -z "$(findstring auto,$@)" ] || \
-               { echo "#define CONFIG_CS_AUTOCONF"     >>include/config.h ; \
-                 echo "... with automatic CS configuration" ; \
+       @[ -z "$(findstring STK100,$@)" ] || \
+               { echo "#define CONFIG_STK52XX_REV100"  >>include/config.h ; \
+                 echo "... on a STK52XX.100 base board" ; \
                }
+       @echo "#define CONFIG_CS_AUTOCONF">>include/config.h ;
+       @echo "... with automatic CS configuration" ;
        @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200
  
  #########################################################################
@@@ -437,9 -422,6 +422,9 @@@ AdderII_config  
        @echo "#define CONFIG_MPC852T" > include/config.h)
        @./mkconfig -a Adder ppc mpc8xx adder
  
 +AdderUSB_config:      unconfig
 +      @./mkconfig -a AdderUSB ppc mpc8xx adder
 +
  ADS860_config     \
  FADS823_config    \
  FADS850SAR_config \
@@@ -1470,6 -1452,9 +1455,9 @@@ PCIPPC6_config: unconfi
  ZUMA_config:  unconfig
        @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260
  
+ ppmc7xx_config: unconfig
+       @./mkconfig $(@:_config=) ppc 74xx_7xx ppmc7xx
+       
  #========================================================================
  # ARM
  #========================================================================
@@@ -1670,6 -1655,11 +1658,11 @@@ cm4008_config :       unconfi
  cm41xx_config :       unconfig
        @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695
  
+ gth2_config           :       unconfig
+       @ >include/config.h
+       @echo "#define CONFIG_GTH2 1" >>include/config.h
+       @./mkconfig -a gth2 mips mips gth2
  #########################################################################
  ## S3C44B0 Systems
  #########################################################################
@@@ -1727,6 -1717,9 +1720,9 @@@ ixdpg425_config :       unconfi
  lubbock_config        :       unconfig
        @./mkconfig $(@:_config=) arm pxa lubbock
  
+ pleb2_config  :       unconfig
+       @./mkconfig $(@:_config=) arm pxa pleb2
  logodl_config :       unconfig
        @./mkconfig $(@:_config=) arm pxa logodl
  
diff --combined README
--- 1/README
--- 2/README
+++ b/README
@@@ -310,8 -310,9 +310,9 @@@ The following options need to be config
                CONFIG_IMPA7,       CONFIG_INNOVATOROMAP1510,   CONFIG_INNOVATOROMAP1610,
                CONFIG_KB9202,          CONFIG_LART,            CONFIG_LPD7A400,
                CONFIG_LUBBOCK,         CONFIG_OSK_OMAP5912,    CONFIG_OMAP2420H4,
-               CONFIG_SHANNON,         CONFIG_P2_OMAP730,      CONFIG_SMDK2400,
-               CONFIG_SMDK2410,        CONFIG_TRAB,            CONFIG_VCMA9
+               CONFIG_PLEB2,           CONFIG_SHANNON,         CONFIG_P2_OMAP730,
+               CONFIG_SMDK2400,        CONFIG_SMDK2410,        CONFIG_TRAB,
+               CONFIG_VCMA9
  
                MicroBlaze based boards:
                ------------------------
                                for differential drivers: 0x00001000
                                for single ended drivers: 0x00005000
  
 +- USB Device:
 +              Define the below if you wish to use the USB console.
 +              Once firmware is rebuilt from a serial console issue the
 +              command "setenv stdin usbtty; setenv stdout usbtty" and
 +              attach your usb cable. The Unix command "dmesg" should print
 +              it has found a new device. The environment variable usbtty
 +              can be set to gserial or cdc_acm to enable your device to
 +              appear to a USB host as a Linux gserial device or a
 +              Common Device Class Abstract Control Model serial device.
 +              If you select usbtty = gserial you should be able to enumerate
 +              a Linux host by
 +              # modprobe usbserial vendor=0xVendorID product=0xProductID
 +              else if using cdc_acm, simply setting the environment
 +              variable usbtty to be cdc_acm should suffice. The following
 +              might be defined in YourBoardName.h
 +
 +                      CONFIG_USB_DEVICE
 +                      Define this to build a UDC device
 +
 +                      CONFIG_USB_TTY
 +                      Define this to have a tty type of device available to
 +                      talk to the UDC device
 +
 +                      CFG_CONSOLE_IS_IN_ENV
 +                      Define this if you want stdin, stdout &/or stderr to
 +                      be set to usbtty.
 +
 +                      mpc8xx:
 +                              CFG_USB_EXTC_CLK 0xBLAH
 +                              Derive USB clock from external clock "blah"
 +                              - CFG_USB_EXTC_CLK 0x02
 +
 +                              CFG_USB_BRG_CLK 0xBLAH
 +                              Derive USB clock from brgclk
 +                              - CFG_USB_BRG_CLK 0x04
 +
 +              If you have a USB-IF assigned VendorID then you may wish to
 +              define your own vendor specific values either in BoardName.h
 +              or directly in usbd_vendor_info.h. If you don't define
 +              CONFIG_USBD_MANUFACTURER, CONFIG_USBD_PRODUCT_NAME,
 +              CONFIG_USBD_VENDORID and CONFIG_USBD_PRODUCTID, then U-Boot
 +              should pretend to be a Linux device to it's target host.
 +
 +                      CONFIG_USBD_MANUFACTURER
 +                      Define this string as the name of your company for
 +                      - CONFIG_USBD_MANUFACTURER "my company"
 +
 +                      CONFIG_USBD_PRODUCT_NAME
 +                      Define this string as the name of your product
 +                      - CONFIG_USBD_PRODUCT_NAME "acme usb device"
 +
 +                      CONFIG_USBD_VENDORID
 +                      Define this as your assigned Vendor ID from the USB
 +                      Implementors Forum. This *must* be a genuine Vendor ID
 +                      to avoid polluting the USB namespace.
 +                      - CONFIG_USBD_VENDORID 0xFFFF
 +
 +                      CONFIG_USBD_PRODUCTID
 +                      Define this as the unique Product ID
 +                      for your device
 +                      - CONFIG_USBD_PRODUCTID 0xFFFF
 +
  
  - MMC Support:
                The MMC controller on the Intel PXA is supported. To
diff --combined include/configs/trab.h
  #define CONFIG_USB_STORAGE    1
  #define CONFIG_DOS_PARTITION  1
  
 +#undef CFG_USB_OHCI_BOARD_INIT
 +#define CFG_USB_OHCI_CPU_INIT 1
 +#define CFG_USB_OHCI_REGS_BASE        S3C24X0_USB_HOST_BASE
 +#define CFG_USB_OHCI_SLOT_NAME        "s3c2400"
 +
  /*
   * Size of malloc() pool
   */
                                CFG_CMD_DATE                    | \
                                CFG_CMD_DHCP                    | \
                                CFG_CMD_FAT                     | \
-                               CFG_CMD_JFFS2                   | \
                                CFG_CMD_NFS                     | \
                                CFG_CMD_SNTP                    | \
                                CFG_CMD_USB     )
                                CFG_CMD_DATE                    | \
                                CFG_CMD_DHCP                    | \
                                CFG_CMD_FAT                     | \
-                               CFG_CMD_JFFS2                   | \
                                CFG_CMD_NFS                     | \
                                CFG_CMD_SNTP                    | \
                                CFG_CMD_USB     )
  #define MTDIDS_DEFAULT                "nor0=0"
  
  /* production flash layout */
- #define MTDPARTS_DEFAULT      "mtdparts=0:32k(Firmware1)ro,"          \
+ #define MTDPARTS_DEFAULT      "mtdparts=0:16k(Firmware1)ro,"          \
                                                "16k(Env1),"            \
                                                "16k(Env2),"            \
-                                               "320k(Firmware2)ro,"    \
+                                               "336k(Firmware2)ro,"    \
                                                "896k(Kernel),"         \
                                                "5376k(Root-FS),"       \
                                                "1408k(JFFS2),"         \