linux-next: manual merge of the catalin tree with the arm-current tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Catalin,

Today's linux-next merge of the catalin tree got a conflict in
arch/arm/mach-realview/core.h arch/arm/mach-realview/realview_pb1176.c
between commit 426fcd2a351e4bf662fee9fa2cf2603a48223164 ("ARM: 5774/1:
Fix Realview ARM1176PB board reboot") from the arc-current tree and
commit 35c6a7ecaa2aafd03dd5d62aa11fbc7a12b82520 ("RealView: Add default
memory configuration") from the catalin tree.

Overlapping additions.  I fixed it up (see below) and can carry the fix as
necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx

diff --cc arch/arm/mach-realview/core.h
index 699671f,1398854..0000000
--- a/arch/arm/mach-realview/core.h
+++ b/arch/arm/mach-realview/core.h
@@@ -61,5 -64,7 +64,7 @@@ extern void realview_timer_init(unsigne
  extern int realview_flash_register(struct resource *res, u32 num);
  extern int realview_eth_register(const char *name, struct resource *res);
  extern int realview_usb_register(struct resource *res);
+ extern void realview_fixup(struct machine_desc *mdesc, struct tag *tags,
+ 			   char **from, struct meminfo *meminfo);
 -
 +extern void (*realview_reset)(char);
  #endif
diff --cc arch/arm/mach-realview/realview_pb1176.c
index a6ba147,b1cdd37..0000000
--- a/arch/arm/mach-realview/realview_pb1176.c
+++ b/arch/arm/mach-realview/realview_pb1176.c
@@@ -290,16 -290,18 +290,28 @@@ static struct sys_timer realview_pb1176
  	.init		= realview_pb1176_timer_init,
  };
  
 +static void realview_pb1176_reset(char mode)
 +{
 +	void __iomem *hdr_ctrl = __io_address(REALVIEW_SYS_BASE) +
 +		REALVIEW_SYS_RESETCTL_OFFSET;
 +	void __iomem *rst_hdr_ctrl = __io_address(REALVIEW_SYS_BASE) +
 +		REALVIEW_SYS_LOCK_OFFSET;
 +	__raw_writel(REALVIEW_SYS_LOCKVAL_MASK, rst_hdr_ctrl);
 +	__raw_writel(REALVIEW_PB1176_SYS_LOCKVAL_RSTCTL, hdr_ctrl);
 +}
 +
+ static void realview_pb1176_fixup(struct machine_desc *mdesc,
+ 				  struct tag *tags, char **from,
+ 				  struct meminfo *meminfo)
+ {
+ 	/*
+ 	 * RealView PB1176 only has 128MB of RAM mapped at 0.
+ 	 */
+ 	meminfo->bank[0].start = 0;
+ 	meminfo->bank[0].size = SZ_128M;
+ 	meminfo->nr_banks = 1;
+ }
+ 
  static void __init realview_pb1176_init(void)
  {
  	int i;
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux