Add another level of procedures to LPC2xxx initialization - procedures for specific...
commit61e1e525c174eaf09debebcdc4ef50ce6f46a8c1
authorFreddie Chopin <freddie_chopin@op.pl>
Sat, 8 Jan 2011 11:29:31 +0000 (8 12:29 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 9 Jan 2011 20:34:02 +0000 (9 21:34 +0100)
treed0b800e1fb1a149d92700554368adb2ce3e6be9e
parent7ec55eb863adda69eecb927fc3e45ef487a5559b
Add another level of procedures to LPC2xxx initialization - procedures for specific targets (setup_lpc<number>) take core clock and adapter clock as parameters. This way "constant" parameters (flash size and type, CPUTAPID, etc.) do not need to be copied if one wishes to change the "variable" parameters - like the core clock or adapter clock - in a board config file or somewhere else.

Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
tcl/target/lpc2103.cfg
tcl/target/lpc2124.cfg
tcl/target/lpc2129.cfg
tcl/target/lpc2148.cfg
tcl/target/lpc2294.cfg
tcl/target/lpc2378.cfg
tcl/target/lpc2478.cfg