Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0647a52 authored by Vitaly Wool's avatar Vitaly Wool Committed by Ralf Baechle
Browse files

[PATCH] add STB810 support (Philips PNX8550-based)

parent c25c79d8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -461,6 +461,11 @@ config PNX8550_JBS
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
	bool "Support for Philips PNX8550 based STB810 board"
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config DDB5477
	bool "NEC DDB Vrc-5477"
	select DDB5XXX_COMMON
+5 −0
Original line number Diff line number Diff line
@@ -463,6 +463,11 @@ libs-$(CONFIG_PNX8550_JBS) += arch/mips/philips/pnx8550/jbs/
#cflags-$(CONFIG_PNX8550_JBS)	+= -Iinclude/asm-mips/mach-pnx8550
load-$(CONFIG_PNX8550_JBS)	+= 0xffffffff80060000

# Philips PNX8550 STB810 board
#
libs-$(CONFIG_PNX8550_STB810)	+= arch/mips/philips/pnx8550/stb810/
load-$(CONFIG_PNX8550_STB810)	+= 0xffffffff80060000

# NEC EMMA2RH boards
#
core-$(CONFIG_EMMA2RH)          += arch/mips/emma2rh/common/
+1229 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
#define	DBG(x...)
#endif

extern char irq_tab_jbs[][5];
extern char pnx8550_irq_tab[][5];

void __init pcibios_fixup_resources(struct pci_dev *dev)
{
@@ -47,7 +47,7 @@ void __init pcibios_fixup(void)

int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{
	return irq_tab_jbs[slot][pin];
	return pnx8550_irq_tab[slot][pin];
}

/* Do platform specific device initialization at pci_enable_device() time */
+6 −14
Original line number Diff line number Diff line
@@ -35,23 +35,15 @@ char * prom_getcmdline(void)
	return &(arcs_cmdline[0]);
}

void  prom_init_cmdline(void)
void __init prom_init_cmdline(void)
{
	char *cp;
	int actr;

	actr = 1; /* Always ignore argv[0] */
	int i;

	cp = &(arcs_cmdline[0]);
	while(actr < prom_argc) {
	        strcpy(cp, prom_argv[actr]);
		cp += strlen(prom_argv[actr]);
		*cp++ = ' ';
		actr++;
	arcs_cmdline[0] = '\0';
	for (i = 0; i < prom_argc; i++) {
		strcat(arcs_cmdline, prom_argv[i]);
		strcat(arcs_cmdline, " ");
	}
	if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */
		--cp;
	*cp = '\0';
}

char *prom_getenv(char *envname)
Loading