public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/6] Introduce function mux library
@ 2011-11-23 22:59 Simon Glass
  2011-11-23 22:59 ` [U-Boot] [PATCH 1/6] tegra: Move cpu_init_cp15() to arch_cpu_init() Simon Glass
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: Simon Glass @ 2011-11-23 22:59 UTC (permalink / raw)
  To: u-boot

It is clear even at this early stage that some board/nvidia code
needs to move into the cpu area. Stephen Warren suggested two changes
which are the subject of the first two patches in this series.

This series also introduces a new function mux concept, which allows
selecting of pin options for a particular peripheral. This makes it
easy for boards to set up pin muxing without having to know the details,
and copy lots of code.

Most platforms will want UARTs to be configured, so we move this into
the cpu area also. The new board_init_uart_f() function looks after
configuring the UARTs as selected by the CONFIG_TEGRA2_ENABLE_...
options.

The last patch fixes a build error not introduced by this series.


Simon Glass (6):
  tegra: Move cpu_init_cp15() to arch_cpu_init()
  tegra: Move clock_early_init() to arch_cpu_init()
  tegra: Add a function mux feature
  tegra: Add support for UART init in cpu board.c
  tegra: Move boards over to use arch-level board UART function
  tegra: Fix build error in plutux, medcom

 arch/arm/cpu/armv7/tegra2/Makefile         |    2 +-
 arch/arm/cpu/armv7/tegra2/board.c          |   57 +++++++++++++++++++
 arch/arm/cpu/armv7/tegra2/funcmux.c        |   80 +++++++++++++++++++++++++++
 arch/arm/include/asm/arch-tegra2/board.h   |   30 ++++++++++
 arch/arm/include/asm/arch-tegra2/funcmux.h |   44 +++++++++++++++
 board/avionic-design/common/tamonten.c     |   50 +----------------
 board/nvidia/common/board.c                |   82 +---------------------------
 include/configs/medcom.h                   |    2 +
 include/configs/plutux.h                   |    2 +
 9 files changed, 221 insertions(+), 128 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/tegra2/funcmux.c
 create mode 100644 arch/arm/include/asm/arch-tegra2/board.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/funcmux.h

-- 
1.7.3.1

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2011-11-29  0:40 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-23 22:59 [U-Boot] [PATCH 0/6] Introduce function mux library Simon Glass
2011-11-23 22:59 ` [U-Boot] [PATCH 1/6] tegra: Move cpu_init_cp15() to arch_cpu_init() Simon Glass
2011-11-23 23:34   ` Mike Frysinger
2011-11-28 19:00     ` Simon Glass
2011-11-28 18:12   ` Stephen Warren
2011-11-23 22:59 ` [U-Boot] [PATCH 2/6] tegra: Move clock_early_init() " Simon Glass
2011-11-28 18:12   ` Stephen Warren
2011-11-23 22:59 ` [U-Boot] [PATCH 3/6] tegra: Add a function mux feature Simon Glass
2011-11-23 23:36   ` Mike Frysinger
2011-11-28 18:17   ` Stephen Warren
2011-11-28 19:19     ` Simon Glass
2011-11-28 19:42       ` Stephen Warren
2011-11-28 22:57         ` Simon Glass
2011-11-23 22:59 ` [U-Boot] [PATCH 4/6] tegra: Add support for UART init in cpu board.c Simon Glass
2011-11-23 23:40   ` Mike Frysinger
2011-11-28 20:14     ` Simon Glass
2011-11-28 23:06       ` Mike Frysinger
2011-11-29  0:40         ` Simon Glass
2011-11-23 22:59 ` [U-Boot] [PATCH 5/6] tegra: Move boards over to use arch-level board UART function Simon Glass
2011-11-23 22:59 ` [U-Boot] [PATCH 6/6] tegra: Fix build error in plutux, medcom Simon Glass
2011-11-23 23:42   ` Mike Frysinger
2011-11-24 20:04   ` Thierry Reding
2011-11-28 18:18   ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox