diff options
author | Martha Marx <mmarx@silicontkx.com> | 2009-01-26 10:45:07 -0700 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2009-02-03 15:40:20 -0700 |
commit | abfbd0ae4967df18102345db4f4b529a13da107b (patch) | |
tree | f790e54d8ba09e99d59ccc88a02307ffab20c25a /board/ads5121 | |
parent | 14d19cd1bce9a24b1335598f1568140f4950e4d9 (diff) | |
download | u-boot-imx-abfbd0ae4967df18102345db4f4b529a13da107b.zip u-boot-imx-abfbd0ae4967df18102345db4f4b529a13da107b.tar.gz u-boot-imx-abfbd0ae4967df18102345db4f4b529a13da107b.tar.bz2 |
ADS5121 Add IC Ident Module (IIM) support
IIM (IC Identification Module) is the fusebox for the mpc5121.
Use #define CONFIG_IIM to turn on the clock for this module
use #define CONFIG_CMD_FUSE to add fusebox commands.
Fusebox commands include the ability to read
the status, read the register cache, override the register cache,
program the fuses and sense them.
Signed-off-by: Martha Marx <mmarx@silicontkx.com>
Signed-off-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'board/ads5121')
-rw-r--r-- | board/ads5121/ads5121.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/ads5121/ads5121.c b/board/ads5121/ads5121.c index 8e22719..ae1ccd9 100644 --- a/board/ads5121/ads5121.c +++ b/board/ads5121/ads5121.c @@ -101,6 +101,9 @@ int board_early_init_f (void) */ im->clk.sccr[0] = SCCR1_CLOCKS_EN; im->clk.sccr[1] = SCCR2_CLOCKS_EN; +#if defined(CONFIG_IIM) || defined(CONFIG_CMD_FUSE) + im->clk.sccr[1] |= CLOCK_SCCR2_IIM_EN; +#endif return 0; } |