From: Chris Packham <judge.packham@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 03/12] ARM: kirkwood: remove KW_DEFADR_PCI_IO_REMAP
Date: Thu, 7 Mar 2019 21:27:56 +1300 [thread overview]
Message-ID: <20190307082805.15199-4-judge.packham@gmail.com> (raw)
In-Reply-To: <20190307082805.15199-1-judge.packham@gmail.com>
KW_DEFADR_PCI_IO_REMAP has the same value as KW_DEFADR_PCI_IO and is
only used to set up a 1:1 mapping. Remove it and update the mapping to
use KW_DEFADR_PCI_IO.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
---
arch/arm/mach-kirkwood/cpu.c | 2 +-
arch/arm/mach-kirkwood/include/mach/cpu.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-kirkwood/cpu.c b/arch/arm/mach-kirkwood/cpu.c
index 277c699a4f9b..85c7f5903d94 100644
--- a/arch/arm/mach-kirkwood/cpu.c
+++ b/arch/arm/mach-kirkwood/cpu.c
@@ -76,7 +76,7 @@ int kw_config_adr_windows(void)
writel(KWCPU_WIN_CTRL_DATA(1024 * 64, KWCPU_TARGET_PCIE,
KWCPU_ATTR_PCIE_IO, KWCPU_WIN_ENABLE), &winregs[1].ctrl);
writel(KW_DEFADR_PCI_IO, &winregs[1].base);
- writel(KW_DEFADR_PCI_IO_REMAP, &winregs[1].remap_lo);
+ writel(KW_DEFADR_PCI_IO, &winregs[1].remap_lo);
writel(0x0, &winregs[1].remap_hi);
/* Window 2: NAND Flash address space */
diff --git a/arch/arm/mach-kirkwood/include/mach/cpu.h b/arch/arm/mach-kirkwood/include/mach/cpu.h
index 91d21518d852..c35cace844ae 100644
--- a/arch/arm/mach-kirkwood/include/mach/cpu.h
+++ b/arch/arm/mach-kirkwood/include/mach/cpu.h
@@ -63,7 +63,6 @@ enum kwcpu_attrib {
*/
#define KW_DEFADR_PCI_MEM 0x90000000
#define KW_DEFADR_PCI_IO 0xC0000000
-#define KW_DEFADR_PCI_IO_REMAP 0xC0000000
#define KW_DEFADR_SASRAM 0xC8010000
#define KW_DEFADR_NANDF 0xD8000000
#define KW_DEFADR_SPIF 0xE8000000
--
2.21.0
next prev parent reply other threads:[~2019-03-07 8:27 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-07 8:27 [U-Boot] [PATCH v2 00/12] ARM: kirkwood: migrate to DM_USB Chris Packham
2019-03-07 8:27 ` [U-Boot] [PATCH v2 01/12] ARM: kirkwood: add db-88f6281-bp board Chris Packham
2019-03-07 9:33 ` Stefan Roese
2019-03-08 6:44 ` Chris Packham
2019-03-13 7:00 ` Chris Packham
2019-03-13 7:23 ` Stefan Roese
2019-03-07 8:27 ` [U-Boot] [PATCH v2 02/12] ARM: kirkwood: rename KW_CPU_WIN_BASE to MVEBU_CPU_WIN_BASE Chris Packham
2019-03-07 11:30 ` Stefan Roese
2019-03-07 8:27 ` Chris Packham [this message]
2019-03-07 11:30 ` [U-Boot] [PATCH v2 03/12] ARM: kirkwood: remove KW_DEFADR_PCI_IO_REMAP Stefan Roese
2019-03-07 8:27 ` [U-Boot] [PATCH v2 04/12] ARM: kirkwood: switch to using mvebu mbus Chris Packham
2019-03-07 11:34 ` Stefan Roese
2019-03-07 8:27 ` [U-Boot] [PATCH v2 05/12] ARM: kirkwood: remove kw_config_adr_windows Chris Packham
2019-03-07 11:34 ` Stefan Roese
2019-03-07 8:27 ` [U-Boot] [PATCH v2 06/12] ARM: kirkwood: enable CONFIG_DM_USB on db-88f6281-bp Chris Packham
2019-03-07 11:35 ` Stefan Roese
2019-03-07 8:28 ` [U-Boot] [PATCH v2 07/12] ARM: kirkwood: enable CONFIG_DM_USB for {dream, guru, sheeva}plug Chris Packham
2019-03-07 11:35 ` Stefan Roese
2019-03-07 8:28 ` [U-Boot] [PATCH v2 08/12] ARM: kirkwood: enable CONFIG_DM_USB for dns325 Chris Packham
2019-03-07 11:35 ` Stefan Roese
2019-03-07 8:28 ` [U-Boot] [PATCH v2 09/12] ARM: kirkwood: enable CONFIG_DM_USB for ds109 Chris Packham
2019-03-07 11:36 ` Stefan Roese
2019-03-07 8:28 ` [U-Boot] [PATCH v2 10/12] ARM: kirkwood: enable CONFIG_DM_USB for goflexhome Chris Packham
2019-03-07 11:36 ` Stefan Roese
2019-03-07 8:28 ` [U-Boot] [PATCH v2 11/12] ARM: kirkwood: enable CONFIG_DM_USB for lschlv2 and lsxhl Chris Packham
2019-03-07 11:36 ` Stefan Roese
2019-03-07 8:28 ` [U-Boot] [PATCH v2 12/12] ARM: kirkwood: enable CONFIG_DM_USB for nas220 Chris Packham
2019-03-07 11:36 ` Stefan Roese
2019-03-08 10:16 ` [U-Boot] [PATCH v2 00/12] ARM: kirkwood: migrate to DM_USB Leigh Brown
2019-03-08 20:56 ` Chris Packham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190307082805.15199-4-judge.packham@gmail.com \
--to=judge.packham@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.