PR 1928/bsps:
	* mpc55xx/include/fsl-mpc567x.h: Revert previous change.
	* mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.
This commit is contained in:
Sebastian Huber
2011-10-10 08:22:27 +00:00
parent 48943dc195
commit e2d3e37192
3 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2011-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1928/bsps:
* mpc55xx/include/fsl-mpc567x.h: Revert previous change.
* mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.
2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".

View File

@@ -639,7 +639,8 @@ extern "C" {
uint32_t R;
struct {
uint32_t:5;
uint32_t SIZE:4;
uint32_t SIZE:3;
uint32_t:1;
uint32_t LAS:3;
uint32_t:3;
uint32_t MAS:1;

View File

@@ -37,6 +37,8 @@
#include <libcpu/powerpc-utility.h>
#include <rtems/powerpc/registers.h>
#if MPC55XX_CHIP_TYPE / 100 == 55
/* Set up the memory ranges for the flash on
* the MPC5553, MPC5554, MPC5566 and MPC5567.
* I check if it is an unknown CPU and return an error.
@@ -695,3 +697,5 @@ mpc55xx_flash_address(void)
return mas2 & 0xFFFFF000;
}
#endif /* MPC55XX_CHIP_TYPE / 100 == 55 */