aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-25 11:02:48 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 14:01:09 -0400
commitd9c4d66aefeab1a005d71e24cd5349095fdd8916 (patch)
tree8490dd5e417bbf8d0b8fe51d5236f418f4034e92 /board
parent56fc54ad0625f73c3a74f2fa3217255b5353a835 (diff)
downloadu-boot-d9c4d66aefeab1a005d71e24cd5349095fdd8916.zip
u-boot-d9c4d66aefeab1a005d71e24cd5349095fdd8916.tar.gz
u-boot-d9c4d66aefeab1a005d71e24cd5349095fdd8916.tar.bz2
kmcoge5ne: Move BFTIC3 CONFIG references to their usage
We only reference CONFIG_SYS_BFTIC3_BASE in one location. Move the comment to where we reference it, and use the value directly. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Holger Brunck <holger.brunck@hitachienergy.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/keymile/km83xx/km83xx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index ecc8c78..8a0b175 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -102,8 +102,10 @@ int misc_init_r(void)
int last_stage_init(void)
{
#if defined(CONFIG_TARGET_KMCOGE5NE)
- struct bfticu_iomap *base =
- (struct bfticu_iomap *)CONFIG_SYS_BFTIC3_BASE;
+ /*
+ * BFTIC3 on the local bus CS4
+ */
+ struct bfticu_iomap *base = (struct bfticu_iomap *)0xB0000000;
u8 dip_switch = in_8((u8 *)&(base->mswitch)) & BFTICU_DIPSWITCH_MASK;
if (dip_switch != 0) {