08 Sep, 2010

1 commit


26 Aug, 2010

1 commit


11 Aug, 2010

1 commit


06 May, 2010

1 commit


30 Apr, 2010

1 commit


25 Apr, 2010

3 commits

  • Signed-off-by: Anatolij Gustschin

    Anatolij Gustschin
     
  • Extend mpc512x serial driver to support multiple PSC ports.

    Subsequent patches for PDM360NG board support make use of this
    functionality by defining CONFIG_SERIAL_MULTI in the board config
    file. Additionally the used PSC devices are specified by defining
    e.g. CONFIG_SYS_PSC1, CONFIG_SYS_PSC4 and CONFIG_SYS_PSC6.

    Support for PSC devices other than 1, 3, 4 and 6 is not added
    by this patch because these aren't used currently. In the future
    it can be easily added using DECLARE_PSC_SERIAL_FUNCTIONS(N) and
    INIT_PSC_SERIAL_STRUCTURE(N) macros in cpu/mpc512x/serial.c.
    Additionally you have to add code for registering added
    devices in serial_initialize() in common/serial.c.

    Signed-off-by: Anatolij Gustschin

    Anatolij Gustschin
     
  • Subsequent patch extends mpc512x serial driver to support
    multiple PSC ports. The driver will provide an uninit()
    function to stop the serial controller and to disable the
    controller's clock. Adding uninit() entry to struct serial_device
    allows disabling the serial controller after usage of
    a stdio serial device.

    This patch adds uninit() entry to the struct serial_device
    and fixes initialization of this structure in the code
    accordingly.

    Signed-off-by: Anatolij Gustschin

    Anatolij Gustschin
     

20 Dec, 2009

2 commits


14 Oct, 2009

1 commit


18 Jul, 2009

1 commit

  • 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: Jean-Christophe PLAGNIOL-VILLARD

    Edited commit message.

    Signed-off-by: Wolfgang Denk

    Jean-Christophe PLAGNIOL-VILLARD
     

02 Jul, 2009

1 commit


13 Jun, 2009

1 commit

  • Zoom2 serial is in general supplied by one of the 4 UARTS on the debug board.
    The default serial is from the USB connector on left side of the debug board.
    The USB connector will produce 2 of the 4 UARTS. On your host pick the first
    enumeration.

    The details of the setting of the serial gpmc setup are not available.
    The values were provided by another party.

    The serial port set up is the same with Zoom1.
    Baud rate 115200, 8 bit data, no parity, 1 stop bit, no flow.

    The kernel bootargs are
    console=ttyS3,115200n8

    Signed-off-by: Tom Rix

    Tom Rix
     

19 Oct, 2008

1 commit


05 Feb, 2008

1 commit


01 Nov, 2007

1 commit


07 Sep, 2007

1 commit


24 Mar, 2007

1 commit


31 Aug, 2006

1 commit


16 Jun, 2006

1 commit

  • 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.

    Wolfgang Denk
     

10 Jan, 2005

1 commit


02 Aug, 2004

1 commit

  • * Patch by Sascha Hauer, 28 Jun:
    - add generic support for Motorola i.MX architecture
    - add support for mx1ads, mx1fs2 and scb9328 boards

    * Patches by Marc Leeman, 23 Jul 2004:
    - Add define for the PCI/Memory Buffer Configuration Register
    - corrected comments in cpu/mpc824x/cpu_init.c

    * Add support for multiple serial interfaces
    (for example to allow modem dial-in / dial-out)

    wdenk