u-boot-brain/arch/powerpc/cpu/mpc512x
Marek Vasut 918327c8f0 serial: mpc512x: Move serial registration from serial_initialize()
Move the registration of serialN_device ports from default
serial_initialize() into driver specific function called from
serial_initialize(). This slims down the serial_initialize() call
to a bare tracker of all possible serial port registration routines
in U-Boot.

The newly implemented mpc512x_serial_initialize() function, which is
implemented inside of the mpc512x serial driver allows encapsulation
of serialN_device within the mpc512x serial driver itself.

Also, remove the exports of serialN_device from include/serial.h
as they are no longer needed. This is simply because the implementation of
default_serial_console() is wrapped into the mpx512x serial driver and
the default console is picked by CONFIG_SERIAL<N> macro in config file.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Stefan Roese <sr@denx.de>
2012-10-15 11:53:50 -07:00
..
asm-offsets.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cache.c MPC8xxx: Define cache ops for USB 2012-06-07 23:29:19 +02:00
config.mk PowerPC: Move -fPIC flag to common place 2011-04-11 21:36:41 +02:00
cpu_init.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
diu.c video: Add SHARP LQ084S3LG01 LCD support on P1022DS 2011-08-04 22:55:33 +02:00
fixed_sdram.c mpc5121: determine RAM size using get_ram_size() 2010-04-24 22:56:35 +02:00
i2c.c arch/powerpc/cpu/mpc512x/i2c.c: Fix GCC 4.6 warnings 2011-11-16 21:12:48 +01:00
ide.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iim.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
interrupts.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iopin.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
Makefile MPC8xxx: Define cache ops for USB 2012-06-07 23:29:19 +02:00
pci.c arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings 2011-11-16 21:12:29 +01:00
serial.c serial: mpc512x: Move serial registration from serial_initialize() 2012-10-15 11:53:50 -07:00
speed.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
start.S unify version_string 2011-07-28 17:22:53 +02:00
traps.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
u-boot.lds rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00