Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109144
b: refs/heads/master
c: a64ae7a
h: refs/heads/master
v: v3
  • Loading branch information
Mike Crowe authored and Ralf Baechle committed Aug 26, 2008
1 parent 7584059 commit d67527c
Show file tree
Hide file tree
Showing 70 changed files with 2,829 additions and 6,682 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 811da237ba39d86846645379763655ddf0f7907e
refs/heads/master: a64ae7a2256b56bbd2830749c580fa533b69758c
42 changes: 20 additions & 22 deletions trunk/arch/mips/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void __init add_memory_region(phys_t start, phys_t size, long type)

/* Sanity check */
if (start + size < start) {
printk("Trying to add an invalid memory region, skipped\n");
pr_warning("Trying to add an invalid memory region, skipped\n");
return;
}

Expand All @@ -92,7 +92,7 @@ void __init add_memory_region(phys_t start, phys_t size, long type)
}

if (x == BOOT_MEM_MAP_MAX) {
printk("Ooops! Too many entries in the memory map!\n");
pr_err("Ooops! Too many entries in the memory map!\n");
return;
}

Expand All @@ -108,22 +108,22 @@ static void __init print_memory_map(void)
const int field = 2 * sizeof(unsigned long);

for (i = 0; i < boot_mem_map.nr_map; i++) {
printk(" memory: %0*Lx @ %0*Lx ",
printk(KERN_INFO " memory: %0*Lx @ %0*Lx ",
field, (unsigned long long) boot_mem_map.map[i].size,
field, (unsigned long long) boot_mem_map.map[i].addr);

switch (boot_mem_map.map[i].type) {
case BOOT_MEM_RAM:
printk("(usable)\n");
printk(KERN_CONT "(usable)\n");
break;
case BOOT_MEM_ROM_DATA:
printk("(ROM data)\n");
printk(KERN_CONT "(ROM data)\n");
break;
case BOOT_MEM_RESERVED:
printk("(reserved)\n");
printk(KERN_CONT "(reserved)\n");
break;
default:
printk("type %lu\n", boot_mem_map.map[i].type);
printk(KERN_CONT "type %lu\n", boot_mem_map.map[i].type);
break;
}
}
Expand Down Expand Up @@ -185,11 +185,11 @@ static unsigned long __init init_initrd(void)

sanitize:
if (initrd_start & ~PAGE_MASK) {
printk(KERN_ERR "initrd start must be page aligned\n");
pr_err("initrd start must be page aligned\n");
goto disable;
}
if (initrd_start < PAGE_OFFSET) {
printk(KERN_ERR "initrd start < PAGE_OFFSET\n");
pr_err("initrd start < PAGE_OFFSET\n");
goto disable;
}

Expand Down Expand Up @@ -221,18 +221,18 @@ static void __init finalize_initrd(void)
goto disable;
}
if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) {
printk("Initrd extends beyond end of memory");
printk(KERN_ERR "Initrd extends beyond end of memory");
goto disable;
}

reserve_bootmem(__pa(initrd_start), size, BOOTMEM_DEFAULT);
initrd_below_start_ok = 1;

printk(KERN_INFO "Initial ramdisk at: 0x%lx (%lu bytes)\n",
initrd_start, size);
pr_info("Initial ramdisk at: 0x%lx (%lu bytes)\n",
initrd_start, size);
return;
disable:
printk(" - disabling initrd\n");
printk(KERN_CONT " - disabling initrd\n");
initrd_start = 0;
initrd_end = 0;
}
Expand Down Expand Up @@ -310,14 +310,12 @@ static void __init bootmem_init(void)
if (min_low_pfn >= max_low_pfn)
panic("Incorrect memory mapping !!!");
if (min_low_pfn > ARCH_PFN_OFFSET) {
printk(KERN_INFO
"Wasting %lu bytes for tracking %lu unused pages\n",
(min_low_pfn - ARCH_PFN_OFFSET) * sizeof(struct page),
min_low_pfn - ARCH_PFN_OFFSET);
pr_info("Wasting %lu bytes for tracking %lu unused pages\n",
(min_low_pfn - ARCH_PFN_OFFSET) * sizeof(struct page),
min_low_pfn - ARCH_PFN_OFFSET);
} else if (min_low_pfn < ARCH_PFN_OFFSET) {
printk(KERN_INFO
"%lu free pages won't be used\n",
ARCH_PFN_OFFSET - min_low_pfn);
pr_info("%lu free pages won't be used\n",
ARCH_PFN_OFFSET - min_low_pfn);
}
min_low_pfn = ARCH_PFN_OFFSET;

Expand Down Expand Up @@ -471,7 +469,7 @@ static void __init arch_mem_init(char **cmdline_p)
/* call board setup routine */
plat_mem_setup();

printk("Determined physical RAM map:\n");
pr_info("Determined physical RAM map:\n");
print_memory_map();

strlcpy(command_line, arcs_cmdline, sizeof(command_line));
Expand All @@ -482,7 +480,7 @@ static void __init arch_mem_init(char **cmdline_p)
parse_early_param();

if (usermem) {
printk("User-defined physical RAM map:\n");
pr_info("User-defined physical RAM map:\n");
print_memory_map();
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/dts/mpc8641_hpcn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
0xe000 0 0 1 &i8259 12 2
0xe100 0 0 2 &i8259 9 2
0xe200 0 0 3 &i8259 10 2
0xe300 0 0 4 &i8259 11 2
0xe300 0 0 4 &i8259 112

// IDSEL 0x1d Audio
0xe800 0 0 1 &i8259 6 2
Expand Down
8 changes: 1 addition & 7 deletions trunk/arch/powerpc/boot/dts/tqm8548-bigflash.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@
reg = <0x00000000 0x00000000>; // Filled in by U-Boot
};

soc@a0000000 {
soc8548@a0000000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "soc";
ranges = <0x0 0xa0000000 0x100000>;
reg = <0xa0000000 0x1000>; // CCSRBAR
bus-frequency = <0>;
compatible = "fsl,mpc8548-immr", "simple-bus";

memory-controller@2000 {
compatible = "fsl,mpc8548-memory-controller";
Expand All @@ -84,11 +83,6 @@
interrupts = <43 2>;
interrupt-parent = <&mpic>;
dfsrr;

rtc@68 {
compatible = "dallas,ds1337";
reg = <0x68>;
};
};

i2c@3100 {
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/boot/dts/tqm8548.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@
reg = <0x00000000 0x00000000>; // Filled in by U-Boot
};

soc@e0000000 {
soc8548@e0000000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "soc";
ranges = <0x0 0xe0000000 0x100000>;
reg = <0xe0000000 0x1000>; // CCSRBAR
bus-frequency = <0>;
compatible = "fsl,mpc8548-immr", "simple-bus";

memory-controller@2000 {
compatible = "fsl,mpc8548-memory-controller";
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ cuboot*)
binary=y
gzip=
case "$platform" in
*-mpc866ads|*-mpc885ads|*-adder875*|*-ep88xc)
*-mpc885ads|*-adder875*|*-ep88xc)
platformo=$object/cuboot-8xx.o
;;
*5200*|*-motionpro)
Expand Down
Loading

0 comments on commit d67527c

Please sign in to comment.