diff options
author | Heiko Schocher <hs@denx.de> | 2008-01-11 01:12:07 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-12 00:33:12 +0100 |
commit | b423d055cc2e13c4ef1f0389c3fa2988d0eed818 (patch) | |
tree | 4acfb3e3909f170e826a89a0c2226b85e3f31e60 /cpu/mpc8xx/cpu_init.c | |
parent | 381e4e639720d8d2efb8066c7c48ec9588cb28c7 (diff) | |
download | u-boot-imx-b423d055cc2e13c4ef1f0389c3fa2988d0eed818.zip u-boot-imx-b423d055cc2e13c4ef1f0389c3fa2988d0eed818.tar.gz u-boot-imx-b423d055cc2e13c4ef1f0389c3fa2988d0eed818.tar.bz2 |
Enable SMC microcode relocation patch for SMC1.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'cpu/mpc8xx/cpu_init.c')
-rw-r--r-- | cpu/mpc8xx/cpu_init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpu/mpc8xx/cpu_init.c b/cpu/mpc8xx/cpu_init.c index c79e578..fb3414a 100644 --- a/cpu/mpc8xx/cpu_init.c +++ b/cpu/mpc8xx/cpu_init.c @@ -31,7 +31,8 @@ DECLARE_GLOBAL_DATA_PTR; #endif -#if defined(CFG_I2C_UCODE_PATCH) || defined(CFG_SPI_UCODE_PATCH) +#if defined(CFG_I2C_UCODE_PATCH) || defined(CFG_SPI_UCODE_PATCH) || \ + defined(CFG_SMC_UCODE_PATCH) void cpm_load_patch (volatile immap_t * immr); #endif @@ -253,7 +254,8 @@ void cpu_init_f (volatile immap_t * immr) immr->im_cpm.cp_rccr = CFG_RCCR; #endif -#if defined(CFG_I2C_UCODE_PATCH) || defined(CFG_SPI_UCODE_PATCH) +#if defined(CFG_I2C_UCODE_PATCH) || defined(CFG_SPI_UCODE_PATCH) || \ + defined(CFG_SMC_UCODE_PATCH) cpm_load_patch (immr); /* load mpc8xx microcode patch */ #endif } |