diff options
author | Wolfgang Denk <wd@denx.de> | 2008-02-15 00:27:11 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-15 00:27:11 +0100 |
commit | ae91a8055c933f4528d88cf92314dabdc8b6acf2 (patch) | |
tree | 3a9ae556ce4cca03cdf8b5c8d2c17794e4a33be6 /cpu/mpc86xx/cpu_init.c | |
parent | a4d60bb917ed3d9b47ec8e55348e9bce004fa9b4 (diff) | |
parent | 9e04a8138892d64848dc6e8e74213086d9190d9a (diff) |
Merge ../custodians
Diffstat (limited to 'cpu/mpc86xx/cpu_init.c')
-rw-r--r-- | cpu/mpc86xx/cpu_init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpu/mpc86xx/cpu_init.c b/cpu/mpc86xx/cpu_init.c index 4f8956e0af..ab5906dbc0 100644 --- a/cpu/mpc86xx/cpu_init.c +++ b/cpu/mpc86xx/cpu_init.c @@ -49,6 +49,10 @@ void cpu_init_f(void) /* Clear initial global data */ memset ((void *) gd, 0, sizeof (gd_t)); +#ifdef CONFIG_FSL_LAW + init_laws(); +#endif + /* Map banks 0 and 1 to the FLASH banks 0 and 1 at preliminary * addresses - these have to be modified later when FLASH size * has been determined @@ -114,5 +118,8 @@ void cpu_init_f(void) */ int cpu_init_r(void) { +#ifdef CONFIG_FSL_LAW + disable_law(0); +#endif return 0; } |