[AM335X][CTT] Export ctt implemented for AM335X

AM335X can now dump the registers used by the Clock Tree Tool(CTT).
Registers can also be written to a file using ./omapconf export ctt
[<filename>]. Files written in rd1 format so that the CTT can import
the file. File extention not automatically placed.

Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[AM335X][MAIN] Export ctt command support in AM335X main

AM335X now has a main file that will interpret which platform specific
command to execute. Only supported command currently is the export ctt
command. Add some basic legacy support as well.

Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[AM335X][HELP] Help support for AM335X export ctt command

Help text now available for AM335X export ctt command, for when
command is called improperly or when ./omapconf --help is called.

Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[AM335X] Integrate support for AM335X export ctt command and help

Add build support for the new functions created for the AM335X export
ctt command and help option. Minor update to omapconf main to call
AM335X specific commands. Updated help options to support the AM335X
specific commands.

Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[AM335X][EMIF] EMIF register definitions for AM335X

EMIF registers have been defined in their own c/h files according to
their names in the AM335X TRM.

Tested-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[AM335X][EMIF] Add support for dump EMIF

Added EMIF register functions to implement the dump emif command in
omapconf for the AM335X. Add appropriate help and updates to hooks.

Tested-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[AM335X][CM] Add register definitions and register access support

CM registers have been defined in their own c/h files according to
their names in the AM335X TRM. Also add necessary functions to support
dump prcm

Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[AM335X][PRM] Add register definitions and register access support

PRM registers have been defined in their own c/h files according to
their names in the AM335X TRM. Add necessary accessor functions for
usage.

Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[AM335X][PRCM] Add prcm dump support

Add functions to dump each prm and cm module according to power
domain. Option to dump all prcm registers. Although not technically a
power domain, prcm device registers can also be dumped.

Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>