forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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>
|
2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
|
* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
|
||||||
|
|||||||
@@ -639,7 +639,8 @@ extern "C" {
|
|||||||
uint32_t R;
|
uint32_t R;
|
||||||
struct {
|
struct {
|
||||||
uint32_t:5;
|
uint32_t:5;
|
||||||
uint32_t SIZE:4;
|
uint32_t SIZE:3;
|
||||||
|
uint32_t:1;
|
||||||
uint32_t LAS:3;
|
uint32_t LAS:3;
|
||||||
uint32_t:3;
|
uint32_t:3;
|
||||||
uint32_t MAS:1;
|
uint32_t MAS:1;
|
||||||
|
|||||||
@@ -37,6 +37,8 @@
|
|||||||
#include <libcpu/powerpc-utility.h>
|
#include <libcpu/powerpc-utility.h>
|
||||||
#include <rtems/powerpc/registers.h>
|
#include <rtems/powerpc/registers.h>
|
||||||
|
|
||||||
|
#if MPC55XX_CHIP_TYPE / 100 == 55
|
||||||
|
|
||||||
/* Set up the memory ranges for the flash on
|
/* Set up the memory ranges for the flash on
|
||||||
* the MPC5553, MPC5554, MPC5566 and MPC5567.
|
* the MPC5553, MPC5554, MPC5566 and MPC5567.
|
||||||
* I check if it is an unknown CPU and return an error.
|
* I check if it is an unknown CPU and return an error.
|
||||||
@@ -695,3 +697,5 @@ mpc55xx_flash_address(void)
|
|||||||
|
|
||||||
return mas2 & 0xFFFFF000;
|
return mas2 & 0xFFFFF000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* MPC55XX_CHIP_TYPE / 100 == 55 */
|
||||||
|
|||||||
Reference in New Issue
Block a user