diff options
author | Tom Rini <trini@konsulko.com> | 2016-09-19 21:55:34 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-20 09:30:25 -0400 |
commit | adf32adb706760b1c527d0d4d6b4976b36f19338 (patch) | |
tree | e5cde6d5f66b5dd1521568f59a0a51a8b1bf19a4 /arch/powerpc/cpu/ppc4xx/4xx_pci.c | |
parent | a4d88920e5d0b67a92f8041f5e0fac0ce027bb48 (diff) | |
download | u-boot-imx-adf32adb706760b1c527d0d4d6b4976b36f19338.zip u-boot-imx-adf32adb706760b1c527d0d4d6b4976b36f19338.tar.gz u-boot-imx-adf32adb706760b1c527d0d4d6b4976b36f19338.tar.bz2 |
PowerPC: Update MIP405/MIP405T to use Kconfig better
Convert CONFIG_MIP405T from SYS_EXTRA_OPTIONS to a real config
There are two boards, MIP405 and MIP405T that have a few differences.
Start by checking for CONFIG_TARGET_MIP405. Then introduce
CONFIG_TARGET_MIP405T and use that not CONFIG_MIP405T. Next, convert
also convert the usage of CONFIG_ISO_STRING to be based on Kconfig.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/4xx_pci.c')
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/4xx_pci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/4xx_pci.c b/arch/powerpc/cpu/ppc4xx/4xx_pci.c index 30e6c65..bfe48a2 100644 --- a/arch/powerpc/cpu/ppc4xx/4xx_pci.c +++ b/arch/powerpc/cpu/ppc4xx/4xx_pci.c @@ -118,7 +118,8 @@ void pci_405gp_init(struct pci_controller *hose) #endif unsigned long ptmla[2] = {CONFIG_SYS_PCI_PTM1LA, CONFIG_SYS_PCI_PTM2LA}; unsigned long ptmms[2] = {CONFIG_SYS_PCI_PTM1MS, CONFIG_SYS_PCI_PTM2MS}; -#if defined(CONFIG_PIP405) || defined (CONFIG_MIP405) +#if defined(CONFIG_PIP405) || defined(CONFIG_TARGET_MIP405) \ + || defined(CONFIG_TARGET_MIP405T) unsigned long pmmla[3] = {0x80000000, 0xA0000000, 0}; unsigned long pmmma[3] = {0xE0000001, 0xE0000001, 0}; unsigned long pmmpcila[3] = {0x80000000, 0x00000000, 0}; @@ -408,7 +409,8 @@ void pci_405gp_setup_vga(struct pci_controller *hose, pci_dev_t dev, pci_hose_write_config_dword(hose, dev, PCI_COMMAND, cmdstat); } -#if !(defined(CONFIG_PIP405) || defined (CONFIG_MIP405)) +#if !(defined(CONFIG_PIP405) || defined(CONFIG_TARGET_MIP405) \ + || defined(CONFIG_TARGET_MIP405T)) /* *As is these functs get called out of flash Not a horrible |