add_memory_region(ddr->ddrbase + 0x400, memsize - 0x600, BOOT_MEM_RAM);
}
-void prom_free_prom_memory(void)
+void __init prom_free_prom_memory(void)
{
- /* FIXME: STUB */
+ /* No prom memory to free */
}
extern char _image_cmdline;
#endif
if (i>0) *(cp++) = ' ';
if (strncmp(prom_argv[i], BOARD_TAG, sizeof(BOARD_TAG) - 1) == 0) {
+ board_type = (char *)kzalloc((sizeof(prom_argv[i]) + sizeof(BOARD_TAG) -1), GFP_KERNEL);
strcpy(board_type, prom_argv[i] + sizeof(BOARD_TAG) -1);
}
if (strncmp(prom_argv[i], GPIO_TAG, sizeof(GPIO_TAG) - 1) == 0) {