ppc32: ppc_sys fixes for 8xx and 82xx (whitespaces fixed)
Hello,
i tried your Patch on a MPC8270 based Board, and got some compilerwarnings, which the following Patch will fix.
Thanks
Heiko Schocher
---
arch/ppc/syslib/m8260_setup.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
arch/ppc/syslib/m8260_setup.c +2 -1
@@ -28,6 +28,7 @@#include <asm/machdep.h> #include <asm/bootinfo.h> #include <asm/time.h> +#include <asm/ppc_sys.h> #include "cpm2_pic.h"
@@ -74,7 +75,7 @@ m8260_setup_arch(void)#endif identify_ppc_sys_by_name_and_id (BOARD_CHIP_NAME , -in_be32 (CPM_MAP_ADDR +CPM_IMMR_OFFSET )); +in_be32 ((void *)(CPM_MAP_ADDR +CPM_IMMR_OFFSET )));m82xx_board_setup (); }