Merge git://www.denx.de/git/u-boot into 2007_05_15-testing
authorMarkus Klotzbuecher <mk@denx.de>
Tue, 29 May 2007 14:37:57 +0000 (16:37 +0200)
committerMarkus Klotzbuecher <mk@pollux.denx.de>
Tue, 29 May 2007 14:37:57 +0000 (16:37 +0200)
1  2 
Makefile
README
include/configs/IceCube.h
include/configs/TQM5200.h

diff --combined Makefile
+++ b/Makefile
@@@ -122,7 -122,7 +122,7 @@@ ifeq ($(HOSTARCH),$(ARCH)
  CROSS_COMPILE =
  else
  ifeq ($(ARCH),ppc)
 -CROSS_COMPILE = powerpc-linux-
 +CROSS_COMPILE = ppc_8xx-
  endif
  ifeq ($(ARCH),arm)
  CROSS_COMPILE = arm-linux-
@@@ -644,9 -644,6 +644,9 @@@ AdderII_config  
        @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
        @$(MKCONFIG) -a Adder ppc mpc8xx adder
  
 +AdderUSB_config:      unconfig
 +      @./mkconfig -a AdderUSB ppc mpc8xx adder
 +
  ADS860_config     \
  FADS823_config    \
  FADS850SAR_config \
@@@ -1629,6 -1626,19 +1629,19 @@@ r5200_config :                unconfi
  ## MPC83xx Systems
  #########################################################################
  
+ MPC8313ERDB_33_config \
+ MPC8313ERDB_66_config: unconfig
+       @echo "" >include/config.h ; \
+       if [ "$(findstring _33_,$@)" ] ; then \
+               echo -n "...33M ..." ; \
+               echo "#define CFG_33MHZ" >>include/config.h ; \
+       fi ; \
+       if [ "$(findstring _66_,$@)" ] ; then \
+               echo -n "...66M..." ; \
+               echo "#define CFG_66MHZ" >>include/config.h ; \
+       fi ;
+       @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb
  MPC832XEMDS_config \
  MPC832XEMDS_HOST_33_config \
  MPC832XEMDS_HOST_66_config \
diff --combined README
--- 1/README
--- 2/README
+++ b/README
@@@ -249,7 -249,6 +249,7 @@@ The following options need to be config
                CONFIG_SA1110
                CONFIG_ARM7
                CONFIG_PXA250
 +              CONFIG_PXA27X
                CONFIG_CPU_MONAHANS
  
                MicroBlaze based CPUs:
                CFG_CMD_VFD     * VFD support (TRAB)
                CFG_CMD_BSP     * Board SPecific functions
                CFG_CMD_CDP     * Cisco Discover Protocol support
+               CFG_CMD_FSL     * Microblaze FSL support
                -----------------------------------------------
                CFG_CMD_ALL     all
  
                                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
  
  /* USB */
  #if 1
 -#define CONFIG_USB_OHCI
 +#define CONFIG_USB_OHCI_NEW
  #define ADD_USB_CMD             CFG_CMD_USB | CFG_CMD_FAT
  #define CONFIG_USB_STORAGE
 +
 +#undef CFG_USB_OHCI_BOARD_INIT
 +#define CFG_USB_OHCI_CPU_INIT
 +#define CFG_USB_OHCI_REGS_BASE        MPC5XXX_USB
 +#define CFG_USB_OHCI_SLOT_NAME        "mpc5200"
 +#define CFG_USB_OHCI_MAX_ROOT_PORTS   15
 +
  #else
  #define ADD_USB_CMD             0
  #endif
   * IPB Bus clocking configuration.
   */
  #if defined(CONFIG_LITE5200B)
- #define CFG_IPBSPEED_133      /* define for 133MHz speed */
+ #define CFG_IPBCLK_EQUALS_XLBCLK      /* define for 133MHz speed */
  #else
- #undef CFG_IPBSPEED_133       /* define for 133MHz speed */
+ #undef CFG_IPBCLK_EQUALS_XLBCLK       /* define for 133MHz speed */
  #endif
  #endif /* CONFIG_MPC5200 */
  
  
  /* USB */
  #if defined(CONFIG_STK52XX) || defined(CONFIG_FO300)
 -#define CONFIG_USB_OHCI
 +#define CONFIG_USB_OHCI_NEW
  #define ADD_USB_CMD           CFG_CMD_USB | CFG_CMD_FAT
  #define CONFIG_USB_STORAGE
 +
 +#undef CFG_USB_OHCI_BOARD_INIT
 +#define CFG_USB_OHCI_CPU_INIT
 +#define CFG_USB_OHCI_REGS_BASE        MPC5XXX_USB
 +#define CFG_USB_OHCI_SLOT_NAME        "mpc5200"
 +#define CFG_USB_OHCI_MAX_ROOT_PORTS   15
 +
  #else
  #define ADD_USB_CMD           0
  #endif
  /*
   * IPB Bus clocking configuration.
   */
- #define CFG_IPBSPEED_133              /* define for 133MHz speed */
+ #define CFG_IPBCLK_EQUALS_XLBCLK              /* define for 133MHz speed */
  
- #if defined(CFG_IPBSPEED_133) && !defined(CONFIG_CAM5200)
+ #if defined(CFG_IPBCLK_EQUALS_XLBCLK) && !defined(CONFIG_CAM5200)
  /*
   * PCI Bus clocking configuration
   *
   * Actually a PCI Clock of 66 MHz is only set (in cpu_init.c) if
-  * CFG_IPBSPEED_133 is defined. This is because a PCI Clock of 66 MHz yet hasn't
-  * been tested with a IPB Bus Clock of 66 MHz.
+  * CFG_IPBCLK_EQUALS_XLBCLK is defined. This is because a PCI Clock of
+  * 66 MHz yet hasn't been tested with a IPB Bus Clock of 66 MHz.
   */
- #define CFG_PCISPEED_66                       /* define for 66MHz speed */
+ #define CFG_PCICLK_EQUALS_IPBCLK_DIV2 /* define for 66MHz speed */
  #endif
  
  /*
  
  #define CFG_BOOTCS_START      CFG_FLASH_BASE
  #define CFG_BOOTCS_SIZE               CFG_FLASH_SIZE
- #ifdef CFG_PCISPEED_66
+ #ifdef CFG_PCICLK_EQUALS_IPBCLK_DIV2
  #define CFG_BOOTCS_CFG                0x0008DF30 /* for pci_clk  = 66 MHz */
  #else
  #define CFG_BOOTCS_CFG                0x0004DF30 /* for pci_clk = 33 MHz */