U-Boot
Threads by month
- ----- 2025 -----
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
March 2023
- 199 participants
- 606 discussions
From: Chris Morgan <macromorgan(a)hotmail.com>
This series is to lay the groundwork to improve support for the RK3566
based devices. This syncs the devicetrees with upstream Linux and adds
support for the pin controller of the rk356x series.
Future patches will be submitted that builds on top of this to support
devices such as the Anbernic RG353 and RG503 which are based on the
RK3566.
Changes Since V1:
- Updated GPIO to parse bank ID from new property of "gpio-ranges"
which should be included in upstream Linux soon.
- Updated name of u-boot.dtsi file for the rk3568-evb1-v10.
- Updated MAINTAINERS file for evb-rk3568 board.
- Updated rockchip documentation for build instructions for
rk3568 boards.
- Removed links to patches co-authored by Peter Geis and instead
included him in the tags.
Chris Morgan (9):
gpio: gpio-rockchip: parse gpio-ranges for bank id
dts: rockchip: px30: add gpio-ranges property to gpio nodes
rockchip: vop2: Add vop2 dt-binding from Linux
arm64: dts: rockchip: Sync rk356x from Linux main
rockchip: rk3568: add boot device detection
rockchip: rk3568: enable automatic power savings
gpio/rockchip: rk_gpio support v2 gpio controller
arm64: dts: rockchip: add gpio-ranges property to gpio nodes
evb1-v10-rk3568: Update MAINTAINERS and documentation
arch/arm/dts/Makefile | 2 +-
arch/arm/dts/px30.dtsi | 4 +
arch/arm/dts/rk3568-evb.dts | 79 --
...-boot.dtsi => rk3568-evb1-v10-u-boot.dtsi} | 0
arch/arm/dts/rk3568-evb1-v10.dts | 692 ++++++++++++++++++
arch/arm/dts/rk3568.dtsi | 122 +++
arch/arm/dts/rk356x.dtsi | 187 ++++-
arch/arm/include/asm/arch-rockchip/gpio.h | 38 +
arch/arm/mach-rockchip/rk3568/rk3568.c | 31 +
board/rockchip/evb_rk3568/MAINTAINERS | 12 +-
...68_defconfig => evb1-v10-rk3568_defconfig} | 4 +-
doc/board/rockchip/rockchip.rst | 10 +
drivers/gpio/rk_gpio.c | 69 +-
drivers/pinctrl/rockchip/Makefile | 1 +
drivers/pinctrl/rockchip/pinctrl-rk3568.c | 453 ++++++++++++
.../pinctrl/rockchip/pinctrl-rockchip-core.c | 12 +-
include/dt-bindings/soc/rockchip,vop2.h | 14 +
17 files changed, 1613 insertions(+), 117 deletions(-)
delete mode 100644 arch/arm/dts/rk3568-evb.dts
rename arch/arm/dts/{rk3568-evb-u-boot.dtsi => rk3568-evb1-v10-u-boot.dtsi} (100%)
create mode 100644 arch/arm/dts/rk3568-evb1-v10.dts
rename configs/{evb-rk3568_defconfig => evb1-v10-rk3568_defconfig} (94%)
create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3568.c
create mode 100644 include/dt-bindings/soc/rockchip,vop2.h
--
2.34.1
11
32
This series of patches base on the latest branch/master, and add support
for the StarFive JH7110 RISC-V SoC and VisionFive V2 board. In order for
this to be achieved, the respective DT nodes have been added, and the
required defconfigs have been added to the boards' defconfig. What is more,
the basic required DM drivers have been added, such as reset, clock, pinctrl,
uart, ram etc.
Note that the register base address of reset controller is same with the
clock controller. Therefore, there is no device tree node alone for reset
driver. It binds device node in the clock driver.
The u-boot-spl and u-boot has been tested on the StarFive VisionFive 2 boards which
equip with JH7110 SoC and works normally.
For more information and support, you can visit RVspace wiki[1].
[1] https://wiki.rvspace.org/
v3:
- Added doc/board/starfive/visionfive2.rst file.
- Added support booting from SD.
- Added support pinctrl in SPL.
- Reworded dts to consistent with linux.
- Added CFG_EXTRA_ENV_SETTINGS configuration.
- Reworded starfive_visionfive2_defconfig.
- Reworded the clock driver.
- Renamed 'starfive-jh7110.h' to 'starfive,jh7110-crg.h'.
- Separated 'starfive_visionfive2.dts' to 'jh7110-starfive-visionfive-2-v1.3b.dts'
and 'jh7110-starfive-visionfive-2-v1.2a.dts' to consistent with linux.
- Added pinmux_property_set callback function implementation in 'pinctrl-starfive.c'.
v2:
- Renamed file 'jh7110-regs.h' to 'regs.h'.
- Reworded the clear L2 LIM memory code in C.
- Removed flash init call in 'spl_soc_init' function.
- Reworded the clock driver.
- Rename the macro 'SET_DIV' to 'ASSIGNED_CLOCK_PARENTS' in 'spl.c'.
- Moved the device tree node 'dmc@15700000' from 'jh7110-u-boot.dtsi' to
'starfive_visionfive2-u-boot.dtsi'
Previous versions:
v1 - https://patchwork.ozlabs.org/project/uboot/cover/20221212025020.23778-1-yan…
v2 - https://patchwork.ozlabs.org/project/uboot/cover/20230118081132.31403-1-yan…
Jianlong Huang (1):
dt-bindings: pinctrl: Add StarFive JH7110 pinctrl definitions
Kuan Lim Lee (1):
pinctrl: starfive: Add StarFive JH7110 driver
Yanhong Wang (15):
riscv: cpu: jh7110: Add support for jh7110 SoC
cache: starfive: Add StarFive JH7110 support
dt-bindings: reset: Add StarFive JH7110 reset definitions
reset: starfive: jh7110: Add reset driver for StarFive JH7110 SoC
dt-bindings: clock: Add StarFive JH7110 clock definitions
clk: starfive: Add StarFive JH7110 clock driver
ram: starfive: add ddr driver
board: starfive: add StarFive VisionFive v2 board support
riscv: cpu: jh7110: Add Kconfig for StarFive JH7110 SoC
board: starfive: Add Kconfig for StarFive VisionFive v2 Board
board: starfive: Add TARGET_STARFIVE_VISIONFIVE2 to Kconfig
riscv: dts: jh7110: Add initial StarFive JH7110 device tree
riscv: dts: jh7110: Add initial u-boot device tree
riscv: dts: jh7110: Add initial StarFive VisionFive v2 board device
tree
configs: starfive: add starfive_visionfive2_defconfig
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/jh7110/Kconfig | 28 +
arch/riscv/cpu/jh7110/Makefile | 10 +
arch/riscv/cpu/jh7110/cpu.c | 23 +
arch/riscv/cpu/jh7110/dram.c | 38 +
arch/riscv/cpu/jh7110/spl.c | 64 +
arch/riscv/dts/Makefile | 3 +-
...10-starfive-visionfive-2-v1.2a-u-boot.dtsi | 85 +
.../jh7110-starfive-visionfive-2-v1.2a.dts | 12 +
...10-starfive-visionfive-2-v1.3b-u-boot.dtsi | 85 +
.../jh7110-starfive-visionfive-2-v1.3b.dts | 12 +
.../dts/jh7110-starfive-visionfive-2.dtsi | 253 +++
arch/riscv/dts/jh7110-u-boot.dtsi | 95 +
arch/riscv/dts/jh7110.dtsi | 582 +++++
arch/riscv/include/asm/arch-jh7110/regs.h | 19 +
arch/riscv/include/asm/arch-jh7110/spl.h | 12 +
board/starfive/visionfive2/Kconfig | 53 +
board/starfive/visionfive2/MAINTAINERS | 7 +
board/starfive/visionfive2/Makefile | 7 +
board/starfive/visionfive2/spl.c | 87 +
.../visionfive2/starfive_visionfive2.c | 38 +
configs/starfive_visionfive2_defconfig | 79 +
doc/board/starfive/index.rst | 9 +
doc/board/starfive/visionfive2.rst | 492 +++++
drivers/cache/cache-sifive-ccache.c | 1 +
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 1 +
drivers/clk/starfive/Kconfig | 17 +
drivers/clk/starfive/Makefile | 4 +
drivers/clk/starfive/clk-jh7110-pll.c | 321 +++
drivers/clk/starfive/clk-jh7110.c | 577 +++++
drivers/clk/starfive/clk.h | 57 +
drivers/pinctrl/Kconfig | 1 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/starfive/Kconfig | 28 +
drivers/pinctrl/starfive/Makefile | 6 +
drivers/pinctrl/starfive/pinctrl-jh7110-aon.c | 113 +
drivers/pinctrl/starfive/pinctrl-jh7110-sys.c | 399 ++++
drivers/pinctrl/starfive/pinctrl-starfive.c | 382 ++++
drivers/pinctrl/starfive/pinctrl-starfive.h | 55 +
drivers/ram/Kconfig | 1 +
drivers/ram/Makefile | 4 +-
drivers/ram/starfive/Kconfig | 5 +
drivers/ram/starfive/Makefile | 11 +
drivers/ram/starfive/ddrcsr_boot.c | 339 +++
drivers/ram/starfive/ddrphy_start.c | 279 +++
drivers/ram/starfive/ddrphy_train.c | 383 ++++
drivers/ram/starfive/ddrphy_utils.c | 1955 +++++++++++++++++
drivers/ram/starfive/starfive_ddr.c | 161 ++
drivers/ram/starfive/starfive_ddr.h | 65 +
drivers/reset/Kconfig | 16 +
drivers/reset/Makefile | 1 +
drivers/reset/reset-jh7110.c | 158 ++
include/configs/starfive-visionfive2.h | 49 +
.../dt-bindings/clock/starfive,jh7110-crg.h | 257 +++
.../pinctrl/pinctrl-starfive-jh7110.h | 427 ++++
.../dt-bindings/reset/starfive,jh7110-crg.h | 183 ++
57 files changed, 8354 insertions(+), 2 deletions(-)
create mode 100644 arch/riscv/cpu/jh7110/Kconfig
create mode 100644 arch/riscv/cpu/jh7110/Makefile
create mode 100644 arch/riscv/cpu/jh7110/cpu.c
create mode 100644 arch/riscv/cpu/jh7110/dram.c
create mode 100644 arch/riscv/cpu/jh7110/spl.c
create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.2a-u-boot.dtsi
create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.2a.dts
create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.3b-u-boot.dtsi
create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.3b.dts
create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
create mode 100644 arch/riscv/dts/jh7110-u-boot.dtsi
create mode 100644 arch/riscv/dts/jh7110.dtsi
create mode 100644 arch/riscv/include/asm/arch-jh7110/regs.h
create mode 100644 arch/riscv/include/asm/arch-jh7110/spl.h
create mode 100644 board/starfive/visionfive2/Kconfig
create mode 100644 board/starfive/visionfive2/MAINTAINERS
create mode 100644 board/starfive/visionfive2/Makefile
create mode 100644 board/starfive/visionfive2/spl.c
create mode 100644 board/starfive/visionfive2/starfive_visionfive2.c
create mode 100644 configs/starfive_visionfive2_defconfig
create mode 100644 doc/board/starfive/index.rst
create mode 100644 doc/board/starfive/visionfive2.rst
create mode 100644 drivers/clk/starfive/Kconfig
create mode 100644 drivers/clk/starfive/Makefile
create mode 100644 drivers/clk/starfive/clk-jh7110-pll.c
create mode 100644 drivers/clk/starfive/clk-jh7110.c
create mode 100644 drivers/clk/starfive/clk.h
create mode 100644 drivers/pinctrl/starfive/Kconfig
create mode 100644 drivers/pinctrl/starfive/Makefile
create mode 100644 drivers/pinctrl/starfive/pinctrl-jh7110-aon.c
create mode 100644 drivers/pinctrl/starfive/pinctrl-jh7110-sys.c
create mode 100644 drivers/pinctrl/starfive/pinctrl-starfive.c
create mode 100644 drivers/pinctrl/starfive/pinctrl-starfive.h
create mode 100644 drivers/ram/starfive/Kconfig
create mode 100644 drivers/ram/starfive/Makefile
create mode 100644 drivers/ram/starfive/ddrcsr_boot.c
create mode 100644 drivers/ram/starfive/ddrphy_start.c
create mode 100644 drivers/ram/starfive/ddrphy_train.c
create mode 100644 drivers/ram/starfive/ddrphy_utils.c
create mode 100644 drivers/ram/starfive/starfive_ddr.c
create mode 100644 drivers/ram/starfive/starfive_ddr.h
create mode 100644 drivers/reset/reset-jh7110.c
create mode 100644 include/configs/starfive-visionfive2.h
create mode 100644 include/dt-bindings/clock/starfive,jh7110-crg.h
create mode 100644 include/dt-bindings/pinctrl/pinctrl-starfive-jh7110.h
create mode 100644 include/dt-bindings/reset/starfive,jh7110-crg.h
base-commit: b0eda49bc9b00503366f2ec431be0178caf9e9b5
--
2.17.1
3
26

[PATCH] timer: fttmr010: return a previously deleted driver now ported to DM
by Sergei Antonov 07 Mar '23
by Sergei Antonov 07 Mar '23
07 Mar '23
The fttmr010 timer driver was deleted by
commit 29fc6f24926e ("ARM: remove a320evb board support")
The original source file was: arch/arm/cpu/arm920t/a320/timer.c
Return the driver to the codebase in a DM compatible form.
A platform using fttmr010 will be submitted later.
This hardware is described in the datasheet [1], starting from page 348.
According to the datasheet, there is a Revision Register at offset 0x3C,
which is not present in 'struct fttmr010'. Add it and debug() print
revision in probe function.
[1]
https://bitbucket.org/Kasreyn/mkrom-uc7112lx/src/master/documents/FIC8120_D…
Signed-off-by: Sergei Antonov <saproj(a)gmail.com>
---
drivers/timer/Kconfig | 7 +++
drivers/timer/Makefile | 1 +
drivers/timer/fttmr010_timer.c | 92 ++++++++++++++++++++++++++++++++++
include/faraday/fttmr010.h | 1 +
4 files changed, 101 insertions(+)
create mode 100644 drivers/timer/fttmr010_timer.c
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index f32bd16227e3..915b2af160c1 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -145,6 +145,13 @@ config DESIGNWARE_APB_TIMER
Enables support for the Designware APB Timer driver. This timer is
present on Altera SoCFPGA SoCs.
+config FTTMR010_TIMER
+ bool "Faraday Technology timer support"
+ depends on TIMER
+ help
+ Select this to enable support for the timer found on
+ devices using Faraday Technology's IP.
+
config GXP_TIMER
bool "HPE GXP Timer"
depends on TIMER
diff --git a/drivers/timer/Makefile b/drivers/timer/Makefile
index 3c92113fc6fd..cdc20f5e946e 100644
--- a/drivers/timer/Makefile
+++ b/drivers/timer/Makefile
@@ -13,6 +13,7 @@ obj-$(CONFIG_$(SPL_)ATMEL_PIT_TIMER) += atmel_pit_timer.o
obj-$(CONFIG_$(SPL_)ATMEL_TCB_TIMER) += atmel_tcb_timer.o
obj-$(CONFIG_CADENCE_TTC_TIMER) += cadence-ttc.o
obj-$(CONFIG_DESIGNWARE_APB_TIMER) += dw-apb-timer.o
+obj-$(CONFIG_FTTMR010_TIMER) += fttmr010_timer.o
obj-$(CONFIG_GXP_TIMER) += gxp-timer.o
obj-$(CONFIG_MPC83XX_TIMER) += mpc83xx_timer.o
obj-$(CONFIG_NOMADIK_MTU_TIMER) += nomadik-mtu-timer.o
diff --git a/drivers/timer/fttmr010_timer.c b/drivers/timer/fttmr010_timer.c
new file mode 100644
index 000000000000..b6289e646109
--- /dev/null
+++ b/drivers/timer/fttmr010_timer.c
@@ -0,0 +1,92 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * (C) Copyright 2009 Faraday Technology
+ * Po-Yu Chuang <ratbert(a)faraday-tech.com>
+ *
+ * 23/08/2022 Port to DM
+ */
+#include <common.h>
+#include <dm.h>
+#include <log.h>
+#include <timer.h>
+#include <asm/io.h>
+#include <dm/ofnode.h>
+#include <faraday/fttmr010.h>
+#include <asm/global_data.h>
+
+#define TIMER_LOAD_VAL 0xffffffff
+
+struct fttmr010_timer_priv {
+ struct fttmr010 __iomem *regs;
+};
+
+static u64 fttmr010_timer_get_count(struct udevice *dev)
+{
+ struct fttmr010_timer_priv *priv = dev_get_priv(dev);
+ struct fttmr010 *tmr = priv->regs;
+ u32 now = TIMER_LOAD_VAL - readl(&tmr->timer3_counter);
+
+ /* increment tbu if tbl has rolled over */
+ if (now < gd->arch.tbl)
+ gd->arch.tbu++;
+ gd->arch.tbl = now;
+
+ return ((u64)gd->arch.tbu << 32) | gd->arch.tbl;
+}
+
+static int fttmr010_timer_probe(struct udevice *dev)
+{
+ struct fttmr010_timer_priv *priv = dev_get_priv(dev);
+ struct fttmr010 *tmr;
+ unsigned int cr;
+
+ priv->regs = dev_read_addr_ptr(dev);
+ if (!priv->regs)
+ return -EINVAL;
+ tmr = priv->regs;
+
+ debug("Faraday FTTMR010 timer revision 0x%08X\n", readl(&tmr->revision));
+
+ /* disable timers */
+ writel(0, &tmr->cr);
+
+ /* setup timer */
+ writel(TIMER_LOAD_VAL, &tmr->timer3_load);
+ writel(TIMER_LOAD_VAL, &tmr->timer3_counter);
+ writel(0, &tmr->timer3_match1);
+ writel(0, &tmr->timer3_match2);
+
+ /* we don't want timer to issue interrupts */
+ writel(FTTMR010_TM3_MATCH1 |
+ FTTMR010_TM3_MATCH2 |
+ FTTMR010_TM3_OVERFLOW,
+ &tmr->interrupt_mask);
+
+ cr = readl(&tmr->cr);
+ cr |= FTTMR010_TM3_CLOCK; /* use external clock */
+ cr |= FTTMR010_TM3_ENABLE;
+ writel(cr, &tmr->cr);
+
+ gd->arch.tbl = 0;
+ gd->arch.tbu = 0;
+
+ return 0;
+}
+
+static const struct timer_ops fttmr010_timer_ops = {
+ .get_count = fttmr010_timer_get_count,
+};
+
+static const struct udevice_id fttmr010_timer_ids[] = {
+ { .compatible = "faraday,fttmr010-timer" },
+ {}
+};
+
+U_BOOT_DRIVER(fttmr010_timer) = {
+ .name = "fttmr010_timer",
+ .id = UCLASS_TIMER,
+ .of_match = fttmr010_timer_ids,
+ .priv_auto = sizeof(struct fttmr010_timer_priv),
+ .probe = fttmr010_timer_probe,
+ .ops = &fttmr010_timer_ops,
+};
diff --git a/include/faraday/fttmr010.h b/include/faraday/fttmr010.h
index ec1c9895f57c..5b1bef38c77d 100644
--- a/include/faraday/fttmr010.h
+++ b/include/faraday/fttmr010.h
@@ -26,6 +26,7 @@ struct fttmr010 {
unsigned int cr; /* 0x30 */
unsigned int interrupt_state; /* 0x34 */
unsigned int interrupt_mask; /* 0x38 */
+ unsigned int revision; /* 0x3c */
};
/*
--
2.34.1
2
1
AM62A7-SK board has 4GB LPDDR4 Micron MT53E2G32D4DE-046 AUT:B part
but only 2GB was enabled early.
Enable full 4GB memory by updating the latter 2GB memory region
which gets mapped to 0x0880000000 i.e. DDR16SS0_SDRAM as referred in
Table 2-1. AM62A Common SoC Memory of AM62Ax TRM [1].
[1] : https://www.ti.com/lit/zip/spruj16
Logs: https://gist.github.com/devarsht/e85b6af89c01ddadb3a62f3e5f196af8
Signed-off-by: Devarsh Thakkar <devarsht(a)ti.com>
---
arch/arm/dts/k3-am62a7-r5-sk.dts | 4 +++-
arch/arm/dts/k3-am62a7-sk.dts | 5 +++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/k3-am62a7-r5-sk.dts b/arch/arm/dts/k3-am62a7-r5-sk.dts
index 58b7c8ad05..bead57dffe 100644
--- a/arch/arm/dts/k3-am62a7-r5-sk.dts
+++ b/arch/arm/dts/k3-am62a7-r5-sk.dts
@@ -25,7 +25,9 @@
memory@80000000 {
device_type = "memory";
- reg = <0x00000000 0x80000000 0x00000000 0x80000000>; /* 2G RAM */
+ /* 4G RAM */
+ reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
+ <0x00000008 0x80000000 0x00000000 0x80000000>;
u-boot,dm-spl;
};
diff --git a/arch/arm/dts/k3-am62a7-sk.dts b/arch/arm/dts/k3-am62a7-sk.dts
index 576dbce80a..b08a083d72 100644
--- a/arch/arm/dts/k3-am62a7-sk.dts
+++ b/arch/arm/dts/k3-am62a7-sk.dts
@@ -26,8 +26,9 @@
memory@80000000 {
device_type = "memory";
- /* 2G RAM */
- reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
+ /* 4G RAM */
+ reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
+ <0x00000008 0x80000000 0x00000000 0x80000000>;
};
reserved-memory {
--
2.17.1
3
4
Migrate the USB node to the original node after updating dwc3-generic and
dwc3-uniphier.
https://lists.denx.de/pipermail/u-boot/2023-February/509635.html
And synchronize UniPhier devicetree with Linux v6.2.
Kunihiko Hayashi (2):
ARM: dts: uniphier: Switch USB node to the original
ARM: dts: uniphier: Sync DT with Linux v6.2
arch/arm/dts/uniphier-ld11-global.dts | 4 +
arch/arm/dts/uniphier-ld11-ref.dts | 6 +-
arch/arm/dts/uniphier-ld11.dtsi | 94 +++++-----
arch/arm/dts/uniphier-ld20.dtsi | 150 ++++++++--------
arch/arm/dts/uniphier-ld4-ref.dts | 10 +-
arch/arm/dts/uniphier-ld4.dtsi | 76 ++++----
arch/arm/dts/uniphier-pro4-ace.dts | 8 +
arch/arm/dts/uniphier-pro4-ref.dts | 18 +-
arch/arm/dts/uniphier-pro4-sanji.dts | 6 +-
arch/arm/dts/uniphier-pro4.dtsi | 247 ++++++++++++++++---------
arch/arm/dts/uniphier-pro5.dtsi | 101 ++++++-----
arch/arm/dts/uniphier-pxs2-gentil.dts | 4 +
arch/arm/dts/uniphier-pxs2.dtsi | 197 ++++++++++----------
arch/arm/dts/uniphier-pxs3-ref.dts | 18 +-
arch/arm/dts/uniphier-pxs3.dtsi | 248 ++++++++++++++++----------
arch/arm/dts/uniphier-sld8-ref.dts | 10 +-
arch/arm/dts/uniphier-sld8.dtsi | 77 ++++----
17 files changed, 761 insertions(+), 513 deletions(-)
--
2.25.1
3
6
Commit fe7d654d04 ("mpc83xx: Migrate CONFIG_SYS_{BR, OR}*_PRELIM to
Kconfig") converted CONFIG_SYS_{BRx/ORx}_PRELIM to Kconfig by
implementing a fine-grained selection of every bit in Kconfig.
But commit c7fad78ec0 ("Convert CONFIG_SYS_BR0_PRELIM et al to
Kconfig") reworked it so that you now just have to provide the raw
value of each register in Kconfig. However, all fine-grained
Kconfig items remained allthough they are not used anymore.
Remove them all.
Fixes: c7fad78ec0 ("Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig")
Signed-off-by: Christophe Leroy <christophe.leroy(a)csgroup.eu>
---
arch/powerpc/cpu/mpc83xx/elbc/Kconfig | 6 -
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0 | 733 --------------------
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1 | 733 --------------------
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2 | 733 --------------------
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3 | 733 --------------------
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4 | 733 --------------------
configs/MPC837XERDB_defconfig | 31 -
configs/gazerbeam_defconfig | 25 -
configs/kmcoge5ne_defconfig | 37 -
configs/kmeter1_defconfig | 28 -
configs/kmopti2_defconfig | 34 -
configs/kmsupx5_defconfig | 28 -
configs/kmtepr2_defconfig | 34 -
configs/tuge1_defconfig | 28 -
configs/tuxx1_defconfig | 36 -
15 files changed, 3952 deletions(-)
delete mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0
delete mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1
delete mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2
delete mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3
delete mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4
diff --git a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig b/arch/powerpc/cpu/mpc83xx/elbc/Kconfig
index 74c4ff3ed4..06841523ef 100644
--- a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/elbc/Kconfig
@@ -23,10 +23,4 @@ config ELBC_BR_OR_NAND_PRELIM_4
endchoice
-source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0"
-source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1"
-source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2"
-source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3"
-source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4"
-
endmenu
diff --git a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0 b/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0
deleted file mode 100644
index 208eed0495..0000000000
--- a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0
+++ /dev/null
@@ -1,733 +0,0 @@
-menuconfig ELBC_BR0_OR0
- bool "ELBC BR0/OR0"
-
-if ELBC_BR0_OR0
-
-config BR0_OR0_NAME
- string "Identifier"
-
-config BR0_OR0_BASE
- hex "Port base"
-
-choice
- prompt "Port size"
-
-config BR0_PORTSIZE_8BIT
- bool "8-bit"
-
-config BR0_PORTSIZE_16BIT
- depends on !BR0_MACHINE_FCM
- bool "16-bit"
-
-
-config BR0_PORTSIZE_32BIT
- depends on !BR0_MACHINE_FCM
- depends on ARCH_MPC8360 || ARCH_MPC8379
- bool "32-bit"
-
-endchoice
-
-if BR0_MACHINE_FCM
-
-choice
- prompt "Data Error Checking"
-
-config BR0_ERRORCHECKING_DISABLED
- bool "Disabled"
-
-config BR0_ERRORCHECKING_ECC_CHECKING
- bool "ECC checking / No ECC generation"
-
-config BR0_ERRORCHECKING_BOTH
- bool "ECC checking and generation"
-
-endchoice
-
-endif
-
-config BR0_WRITE_PROTECT
- bool "Write-protect"
-
-config BR0_MACHINE_UPM
- bool
-
-choice
- prompt "Machine select"
-
-config BR0_MACHINE_GPCM
- bool "GPCM"
-
-config BR0_MACHINE_FCM
- depends on !ARCH_MPC832X && !ARCH_MPC8360
- bool "FCM"
-
-config BR0_MACHINE_SDRAM
- depends on ARCH_MPC8360
- bool "SDRAM"
-
-config BR0_MACHINE_UPMA
- select BR0_MACHINE_UPM
- bool "UPM (A)"
-
-config BR0_MACHINE_UPMB
- select BR0_MACHINE_UPM
- bool "UPM (B)"
-
-config BR0_MACHINE_UPMC
- select BR0_MACHINE_UPM
- bool "UPM (C)"
-
-endchoice
-
-if ARCH_MPC8313 || ARCH_MPC8323 || ARCH_MPC8360
-
-choice
- prompt "Atomic operations"
-
-config BR0_ATOMIC_NONE
- bool "No atomic operations"
-
-config BR0_ATOMIC_RAWA
- bool "Read-after-write-atomic"
-
-config BR0_ATOMIC_WARA
- bool "Write-after-read-atomic"
-
-endchoice
-
-endif
-
-if BR0_MACHINE_GPCM || BR0_MACHINE_FCM || BR0_MACHINE_UPM || BR0_MACHINE_SDRAM
-
-choice
- prompt "Address mask"
-
-config OR0_AM_32_KBYTES
- depends on !BR0_MACHINE_SDRAM
- bool "32 kb"
-
-config OR0_AM_64_KBYTES
- bool "64 kb"
-
-config OR0_AM_128_KBYTES
- bool "128 kb"
-
-config OR0_AM_256_KBYTES
- bool "256 kb"
-
-config OR0_AM_512_KBYTES
- bool "512 kb"
-
-config OR0_AM_1_MBYTES
- bool "1 mb"
-
-config OR0_AM_2_MBYTES
- bool "2 mb"
-
-config OR0_AM_4_MBYTES
- bool "4 mb"
-
-config OR0_AM_8_MBYTES
- bool "8 mb"
-
-config OR0_AM_16_MBYTES
- bool "16 mb"
-
-config OR0_AM_32_MBYTES
- bool "32 mb"
-
-config OR0_AM_64_MBYTES
- bool "64 mb"
-
-# XXX: Some boards define 128MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR0_AM_128_MBYTES
- bool "128 mb"
-
-# XXX: Some boards define 256MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR0_AM_256_MBYTES
- bool "256 mb"
-
-config OR0_AM_512_MBYTES
- depends on BR0_MACHINE_FCM
- bool "512 mb"
-
-# XXX: Some boards define 1GB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR0_AM_1_GBYTES
- bool "1 gb"
-
-config OR0_AM_2_GBYTES
- depends on BR0_MACHINE_FCM
- bool "2 gb"
-
-config OR0_AM_4_GBYTES
- depends on BR0_MACHINE_FCM
- bool "4 gb"
-
-endchoice
-
-config OR0_XAM_SET
- bool "Set unused bytes after address mask"
-choice
- prompt "Buffer control disable"
-
-config OR0_BCTLD_ASSERTED
- bool "Asserted"
-
-config OR0_BCTLD_NOT_ASSERTED
- bool "Not asserted"
-
-endchoice
-
-endif
-
-if BR0_MACHINE_GPCM || BR0_MACHINE_FCM
-
-choice
- prompt "Cycle length in bus clocks"
-
-config OR0_SCY_0
- bool "No wait states"
-
-config OR0_SCY_1
- bool "1 wait state"
-
-config OR0_SCY_2
- bool "2 wait states"
-
-config OR0_SCY_3
- bool "3 wait states"
-
-config OR0_SCY_4
- bool "4 wait states"
-
-config OR0_SCY_5
- bool "5 wait states"
-
-config OR0_SCY_6
- bool "6 wait states"
-
-config OR0_SCY_7
- bool "7 wait states"
-
-config OR0_SCY_8
- depends on BR0_MACHINE_GPCM
- bool "8 wait states"
-
-config OR0_SCY_9
- depends on BR0_MACHINE_GPCM
- bool "9 wait states"
-
-config OR0_SCY_10
- depends on BR0_MACHINE_GPCM
- bool "10 wait states"
-
-config OR0_SCY_11
- depends on BR0_MACHINE_GPCM
- bool "11 wait states"
-
-config OR0_SCY_12
- depends on BR0_MACHINE_GPCM
- bool "12 wait states"
-
-config OR0_SCY_13
- depends on BR0_MACHINE_GPCM
- bool "13 wait states"
-
-config OR0_SCY_14
- depends on BR0_MACHINE_GPCM
- bool "14 wait states"
-
-config OR0_SCY_15
- depends on BR0_MACHINE_GPCM
- bool "15 wait states"
-
-endchoice
-
-endif # BR0_MACHINE_GPCM || BR0_MACHINE_FCM
-
-if BR0_MACHINE_GPCM
-
-choice
- prompt "Chip select negotiation time"
-
-config OR0_CSNT_NORMAL
- bool "Normal"
-
-config OR0_CSNT_EARLIER
- bool "Earlier"
-
-endchoice
-
-choice
- prompt "Address to chip-select setup"
-
-config OR0_ACS_SAME_TIME
- bool "At the same time"
-
-config OR0_ACS_HALF_CYCLE_EARLIER
- bool "Half of a bus clock cycle earlier"
-
-config OR0_ACS_QUARTER_CYCLE_EARLIER
- bool "Half/Quarter of a bus clock cycle earlier"
-
-endchoice
-
-choice
- prompt "Extra address to check-select setup"
-
-config OR0_XACS_NORMAL
- bool "Normal"
-
-config OR0_XACS_EXTENDED
- bool "Extended"
-
-endchoice
-
-choice
- prompt "External address termination"
-
-config OR0_SETA_INTERNAL
- bool "Access is terminated internally"
-
-config OR0_SETA_EXTERNAL
- bool "Access is terminated externally"
-
-endchoice
-
-endif # BR0_MACHINE_GPCM
-
-if BR0_MACHINE_FCM
-
-choice
- prompt "NAND Flash EEPROM page size"
-
-config OR0_PGS_SMALL
- bool "Small page device"
-
-config OR0_PGS_LARGE
- bool "Large page device"
-
-endchoice
-
-choice
- prompt "Chip select to command time"
-
-config OR0_CSCT_1_CYCLE
- depends on OR0_TRLX_NORMAL
- bool "1 cycle"
-
-config OR0_CSCT_2_CYCLE
- depends on OR0_TRLX_RELAXED
- bool "2 cycles"
-
-config OR0_CSCT_4_CYCLE
- depends on OR0_TRLX_NORMAL
- bool "4 cycles"
-
-config OR0_CSCT_8_CYCLE
- depends on OR0_TRLX_RELAXED
- bool "8 cycles"
-
-endchoice
-
-choice
- prompt "Command setup time"
-
-config OR0_CST_COINCIDENT
- depends on OR0_TRLX_NORMAL
- bool "Coincident with any command"
-
-config OR0_CST_QUARTER_CLOCK
- depends on OR0_TRLX_NORMAL
- bool "0.25 clocks after"
-
-config OR0_CST_HALF_CLOCK
- depends on OR0_TRLX_RELAXED
- bool "0.5 clocks after"
-
-config OR0_CST_ONE_CLOCK
- depends on OR0_TRLX_RELAXED
- bool "1 clock after"
-
-endchoice
-
-choice
- prompt "Command hold time"
-
-config OR0_CHT_HALF_CLOCK
- depends on OR0_TRLX_NORMAL
- bool "0.5 clocks before"
-
-config OR0_CHT_ONE_CLOCK
- depends on OR0_TRLX_NORMAL
- bool "1 clock before"
-
-config OR0_CHT_ONE_HALF_CLOCK
- depends on OR0_TRLX_RELAXED
- bool "1.5 clocks before"
-
-config OR0_CHT_TWO_CLOCK
- depends on OR0_TRLX_RELAXED
- bool "2 clocks before"
-
-endchoice
-
-choice
- prompt "Reset setup time"
-
-config OR0_RST_THREE_QUARTER_CLOCK
- depends on OR0_TRLX_NORMAL
- bool "0.75 clocks prior"
-
-config OR0_RST_ONE_HALF_CLOCK
- depends on OR0_TRLX_RELAXED
- bool "0.5 clocks prior"
-
-config OR0_RST_ONE_CLOCK
- bool "1 clock prior"
-
-endchoice
-
-endif # BR0_MACHINE_FCM
-
-if BR0_MACHINE_UPM
-
-choice
- prompt "Burst inhibit"
-
-config OR0_BI_BURSTSUPPORT
- bool "Support burst access"
-
-config OR0_BI_BURSTINHIBIT
- bool "Inhibit burst access"
-
-endchoice
-
-endif # BR0_MACHINE_UPM
-
-if BR0_MACHINE_SDRAM
-
-choice
- prompt "Number of column address lines"
-
-config OR0_COLS_7
- bool "7"
-
-config OR0_COLS_8
- bool "8"
-
-config OR0_COLS_9
- bool "9"
-
-config OR0_COLS_10
- bool "10"
-
-config OR0_COLS_11
- bool "11"
-
-config OR0_COLS_12
- bool "12"
-
-config OR0_COLS_13
- bool "13"
-
-config OR0_COLS_14
- bool "14"
-
-endchoice
-
-choice
- prompt "Number of rows address lines"
-
-config OR0_ROWS_9
- bool "9"
-
-config OR0_ROWS_10
- bool "10"
-
-config OR0_ROWS_11
- bool "11"
-
-config OR0_ROWS_12
- bool "12"
-
-config OR0_ROWS_13
- bool "13"
-
-config OR0_ROWS_14
- bool "14"
-
-config OR0_ROWS_15
- bool "15"
-
-endchoice
-
-choice
- prompt "Page mode select"
-
-config OR0_PMSEL_BTB
- bool "Back-to-back"
-
-config OR0_PMSEL_KEPT_OPEN
- bool "Page kept open until page miss or refresh"
-
-endchoice
-
-endif # BR0_MACHINE_SDRAM
-
-choice
- prompt "Relaxed timing"
-
-config OR0_TRLX_NORMAL
- bool "Normal"
-
-config OR0_TRLX_RELAXED
- bool "Relaxed"
-
-endchoice
-
-choice
- prompt "Extended hold time"
-
-config OR0_EHTR_NORMAL
- depends on OR0_TRLX_NORMAL
- bool "Normal"
-
-config OR0_EHTR_1_CYCLE
- depends on OR0_TRLX_NORMAL
- bool "1 idle clock cycle inserted"
-
-config OR0_EHTR_4_CYCLE
- depends on OR0_TRLX_RELAXED
- bool "4 idle clock cycles inserted"
-
-config OR0_EHTR_8_CYCLE
- depends on OR0_TRLX_RELAXED
- bool "8 idle clock cycles inserted"
-
-endchoice
-
-if !ARCH_MPC8308
-
-choice
- prompt "External address latch delay"
-
-config OR0_EAD_NONE
- bool "None"
-
-config OR0_EAD_EXTRA
- bool "Extra"
-
-endchoice
-
-endif # !ARCH_MPC8308
-
-endif # ELBC_BR0_OR0
-
-config BR0_PORTSIZE
- hex
- default 0x800 if BR0_PORTSIZE_8BIT
- default 0x1000 if BR0_PORTSIZE_16BIT
- default 0x1800 if BR0_PORTSIZE_32BIT
-
-config BR0_ERRORCHECKING
- hex
- default 0x0 if !BR0_MACHINE_FCM
- default 0x0 if BR0_ERRORCHECKING_DISABLED
- default 0x200 if BR0_ERRORCHECKING_ECC_CHECKING
- default 0x400 if BR0_ERRORCHECKING_BOTH
-
-config BR0_WRITE_PROTECT_BIT
- hex
- default 0x0 if !BR0_WRITE_PROTECT
- default 0x100 if BR0_WRITE_PROTECT
-
-config BR0_MACHINE
- hex
- default 0x0 if BR0_MACHINE_GPCM
- default 0x20 if BR0_MACHINE_FCM
- default 0x60 if BR0_MACHINE_SDRAM
- default 0x80 if BR0_MACHINE_UPMA
- default 0xa0 if BR0_MACHINE_UPMB
- default 0xc0 if BR0_MACHINE_UPMC
-
-config BR0_ATOMIC
- hex
- default 0x0 if !ARCH_MPC8313 && !ARCH_MPC8323 && !ARCH_MPC8360
- default 0x0 if BR0_ATOMIC_NONE
- default 0x4 if BR0_ATOMIC_RAWA
- default 0x8 if BR0_ATOMIC_WARA
-
-config BR0_VALID_BIT
- hex
- default 0x0 if !ELBC_BR0_OR0
- default 0x1 if ELBC_BR0_OR0
-
-config OR0_AM
- hex
- default 0xffff8000 if OR0_AM_32_KBYTES && !BR0_MACHINE_SDRAM
- default 0xffff0000 if OR0_AM_64_KBYTES
- default 0xfffe0000 if OR0_AM_128_KBYTES
- default 0xfffc0000 if OR0_AM_256_KBYTES
- default 0xfff80000 if OR0_AM_512_KBYTES
- default 0xfff00000 if OR0_AM_1_MBYTES
- default 0xffe00000 if OR0_AM_2_MBYTES
- default 0xffc00000 if OR0_AM_4_MBYTES
- default 0xff800000 if OR0_AM_8_MBYTES
- default 0xff000000 if OR0_AM_16_MBYTES
- default 0xfe000000 if OR0_AM_32_MBYTES
- default 0xfc000000 if OR0_AM_64_MBYTES
- default 0xf8000000 if OR0_AM_128_MBYTES
- default 0xf0000000 if OR0_AM_256_MBYTES
- default 0xe0000000 if OR0_AM_512_MBYTES
- default 0xc0000000 if OR0_AM_1_GBYTES
- default 0x80000000 if OR0_AM_2_GBYTES
- default 0x00000000 if OR0_AM_4_GBYTES
-
-config OR0_XAM
- hex
- default 0x0 if !OR0_XAM_SET
- default 0x6000 if OR0_XAM_SET
-
-config OR0_BCTLD
- hex
- default 0x0 if OR0_BCTLD_ASSERTED
- default 0x1000 if OR0_BCTLD_NOT_ASSERTED
-
-config OR0_BI
- hex
- default 0x0 if !BR0_MACHINE_UPM
- default 0x0 if OR0_BI_BURSTSUPPORT
- default 0x100 if OR0_BI_BURSTINHIBIT
-
-config OR0_COLS
- hex
- default 0x0 if !BR0_MACHINE_SDRAM
- default 0x0 if OR0_COLS_7
- default 0x400 if OR0_COLS_8
- default 0x800 if OR0_COLS_9
- default 0xc00 if OR0_COLS_10
- default 0x1000 if OR0_COLS_11
- default 0x1400 if OR0_COLS_12
- default 0x1800 if OR0_COLS_13
- default 0x1c00 if OR0_COLS_14
-
-config OR0_ROWS
- hex
- default 0x0 if !BR0_MACHINE_SDRAM
- default 0x0 if OR0_ROWS_9
- default 0x40 if OR0_ROWS_10
- default 0x80 if OR0_ROWS_11
- default 0xc0 if OR0_ROWS_12
- default 0x100 if OR0_ROWS_13
- default 0x140 if OR0_ROWS_14
- default 0x180 if OR0_ROWS_15
-
-config OR0_PMSEL
- hex
- default 0x0 if !BR0_MACHINE_SDRAM
- default 0x0 if OR0_PMSEL_BTB
- default 0x20 if OR0_PMSEL_KEPT_OPEN
-
-config OR0_SCY
- hex
- default 0x0 if !BR0_MACHINE_GPCM && !BR0_MACHINE_FCM
- default 0x0 if OR0_SCY_0
- default 0x10 if OR0_SCY_1
- default 0x20 if OR0_SCY_2
- default 0x30 if OR0_SCY_3
- default 0x40 if OR0_SCY_4
- default 0x50 if OR0_SCY_5
- default 0x60 if OR0_SCY_6
- default 0x70 if OR0_SCY_7
- default 0x80 if OR0_SCY_8
- default 0x90 if OR0_SCY_9
- default 0xa0 if OR0_SCY_10
- default 0xb0 if OR0_SCY_11
- default 0xc0 if OR0_SCY_12
- default 0xd0 if OR0_SCY_13
- default 0xe0 if OR0_SCY_14
- default 0xf0 if OR0_SCY_15
-
-config OR0_PGS
- hex
- default 0x0 if !BR0_MACHINE_FCM
- default 0x0 if OR0_PGS_SMALL
- default 0x400 if OR0_PGS_LARGE
-
-config OR0_CSCT
- hex
- default 0x0 if !BR0_MACHINE_FCM
- default 0x0 if OR0_CSCT_1_CYCLE
- default 0x0 if OR0_CSCT_2_CYCLE
- default 0x200 if OR0_CSCT_4_CYCLE
- default 0x200 if OR0_CSCT_8_CYCLE
-
-config OR0_CST
- hex
- default 0x0 if !BR0_MACHINE_FCM
- default 0x0 if OR0_CST_COINCIDENT
- default 0x100 if OR0_CST_QUARTER_CLOCK
- default 0x0 if OR0_CST_HALF_CLOCK
- default 0x100 if OR0_CST_ONE_CLOCK
-
-config OR0_CHT
- hex
- default 0x0 if !BR0_MACHINE_FCM
- default 0x0 if OR0_CHT_HALF_CLOCK
- default 0x80 if OR0_CHT_ONE_CLOCK
- default 0x0 if OR0_CHT_ONE_HALF_CLOCK
- default 0x80 if OR0_CHT_TWO_CLOCK
-
-config OR0_RST
- hex
- default 0x0 if !BR0_MACHINE_FCM
- default 0x0 if OR0_RST_THREE_QUARTER_CLOCK
- default 0x8 if OR0_RST_ONE_CLOCK
- default 0x0 if OR0_RST_ONE_HALF_CLOCK
-
-config OR0_CSNT
- hex
- default 0x0 if !BR0_MACHINE_GPCM
- default 0x0 if OR0_CSNT_NORMAL
- default 0x800 if OR0_CSNT_EARLIER
-
-config OR0_ACS
- hex
- default 0x0 if !BR0_MACHINE_GPCM
- default 0x0 if OR0_ACS_SAME_TIME
- default 0x400 if OR0_ACS_QUARTER_CYCLE_EARLIER
- default 0x600 if OR0_ACS_HALF_CYCLE_EARLIER
-
-config OR0_XACS
- hex
- default 0x0 if !BR0_MACHINE_GPCM
- default 0x0 if OR0_XACS_NORMAL
- default 0x100 if OR0_XACS_EXTENDED
-
-config OR0_SETA
- hex
- default 0x0 if !BR0_MACHINE_GPCM
- default 0x0 if OR0_SETA_INTERNAL
- default 0x8 if OR0_SETA_EXTERNAL
-
-config OR0_TRLX
- hex
- default 0x0 if OR0_TRLX_NORMAL
- default 0x4 if OR0_TRLX_RELAXED
-
-config OR0_EHTR
- hex
- default 0x0 if OR0_EHTR_NORMAL
- default 0x2 if OR0_EHTR_1_CYCLE
- default 0x0 if OR0_EHTR_4_CYCLE
- default 0x2 if OR0_EHTR_8_CYCLE
-
-config OR0_EAD
- hex
- default 0x0 if ARCH_MPC8308
- default 0x0 if OR0_EAD_NONE
- default 0x1 if OR0_EAD_EXTRA
diff --git a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1 b/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1
deleted file mode 100644
index 1dc3e75076..0000000000
--- a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1
+++ /dev/null
@@ -1,733 +0,0 @@
-menuconfig ELBC_BR1_OR1
- bool "ELBC BR1/OR1"
-
-if ELBC_BR1_OR1
-
-config BR1_OR1_NAME
- string "Identifier"
-
-config BR1_OR1_BASE
- hex "Port base"
-
-choice
- prompt "Port size"
-
-config BR1_PORTSIZE_8BIT
- bool "8-bit"
-
-config BR1_PORTSIZE_16BIT
- depends on !BR1_MACHINE_FCM
- bool "16-bit"
-
-
-config BR1_PORTSIZE_32BIT
- depends on !BR1_MACHINE_FCM
- depends on ARCH_MPC8360 || ARCH_MPC8379
- bool "32-bit"
-
-endchoice
-
-if BR1_MACHINE_FCM
-
-choice
- prompt "Data Error Checking"
-
-config BR1_ERRORCHECKING_DISABLED
- bool "Disabled"
-
-config BR1_ERRORCHECKING_ECC_CHECKING
- bool "ECC checking / No ECC generation"
-
-config BR1_ERRORCHECKING_BOTH
- bool "ECC checking and generation"
-
-endchoice
-
-endif
-
-config BR1_WRITE_PROTECT
- bool "Write-protect"
-
-config BR1_MACHINE_UPM
- bool
-
-choice
- prompt "Machine select"
-
-config BR1_MACHINE_GPCM
- bool "GPCM"
-
-config BR1_MACHINE_FCM
- depends on !ARCH_MPC832X && !ARCH_MPC8360
- bool "FCM"
-
-config BR1_MACHINE_SDRAM
- depends on ARCH_MPC8360
- bool "SDRAM"
-
-config BR1_MACHINE_UPMA
- select BR1_MACHINE_UPM
- bool "UPM (A)"
-
-config BR1_MACHINE_UPMB
- select BR1_MACHINE_UPM
- bool "UPM (B)"
-
-config BR1_MACHINE_UPMC
- select BR1_MACHINE_UPM
- bool "UPM (C)"
-
-endchoice
-
-if ARCH_MPC8313 || ARCH_MPC8323 || ARCH_MPC8360
-
-choice
- prompt "Atomic operations"
-
-config BR1_ATOMIC_NONE
- bool "No atomic operations"
-
-config BR1_ATOMIC_RAWA
- bool "Read-after-write-atomic"
-
-config BR1_ATOMIC_WARA
- bool "Write-after-read-atomic"
-
-endchoice
-
-endif
-
-if BR1_MACHINE_GPCM || BR1_MACHINE_FCM || BR1_MACHINE_UPM || BR1_MACHINE_SDRAM
-
-choice
- prompt "Address mask"
-
-config OR1_AM_32_KBYTES
- depends on !BR1_MACHINE_SDRAM
- bool "32 kb"
-
-config OR1_AM_64_KBYTES
- bool "64 kb"
-
-config OR1_AM_128_KBYTES
- bool "128 kb"
-
-config OR1_AM_256_KBYTES
- bool "256 kb"
-
-config OR1_AM_512_KBYTES
- bool "512 kb"
-
-config OR1_AM_1_MBYTES
- bool "1 mb"
-
-config OR1_AM_2_MBYTES
- bool "2 mb"
-
-config OR1_AM_4_MBYTES
- bool "4 mb"
-
-config OR1_AM_8_MBYTES
- bool "8 mb"
-
-config OR1_AM_16_MBYTES
- bool "16 mb"
-
-config OR1_AM_32_MBYTES
- bool "32 mb"
-
-config OR1_AM_64_MBYTES
- bool "64 mb"
-
-# XXX: Some boards define 128MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR1_AM_128_MBYTES
- bool "128 mb"
-
-# XXX: Some boards define 256MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR1_AM_256_MBYTES
- bool "256 mb"
-
-config OR1_AM_512_MBYTES
- depends on BR1_MACHINE_FCM
- bool "512 mb"
-
-# XXX: Some boards define 1GB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR1_AM_1_GBYTES
- bool "1 gb"
-
-config OR1_AM_2_GBYTES
- depends on BR1_MACHINE_FCM
- bool "2 gb"
-
-config OR1_AM_4_GBYTES
- depends on BR1_MACHINE_FCM
- bool "4 gb"
-
-endchoice
-
-config OR1_XAM_SET
- bool "Set unused bytes after address mask"
-choice
- prompt "Buffer control disable"
-
-config OR1_BCTLD_ASSERTED
- bool "Asserted"
-
-config OR1_BCTLD_NOT_ASSERTED
- bool "Not asserted"
-
-endchoice
-
-endif
-
-if BR1_MACHINE_GPCM || BR1_MACHINE_FCM
-
-choice
- prompt "Cycle length in bus clocks"
-
-config OR1_SCY_0
- bool "No wait states"
-
-config OR1_SCY_1
- bool "1 wait state"
-
-config OR1_SCY_2
- bool "2 wait states"
-
-config OR1_SCY_3
- bool "3 wait states"
-
-config OR1_SCY_4
- bool "4 wait states"
-
-config OR1_SCY_5
- bool "5 wait states"
-
-config OR1_SCY_6
- bool "6 wait states"
-
-config OR1_SCY_7
- bool "7 wait states"
-
-config OR1_SCY_8
- depends on BR1_MACHINE_GPCM
- bool "8 wait states"
-
-config OR1_SCY_9
- depends on BR1_MACHINE_GPCM
- bool "9 wait states"
-
-config OR1_SCY_10
- depends on BR1_MACHINE_GPCM
- bool "10 wait states"
-
-config OR1_SCY_11
- depends on BR1_MACHINE_GPCM
- bool "11 wait states"
-
-config OR1_SCY_12
- depends on BR1_MACHINE_GPCM
- bool "12 wait states"
-
-config OR1_SCY_13
- depends on BR1_MACHINE_GPCM
- bool "13 wait states"
-
-config OR1_SCY_14
- depends on BR1_MACHINE_GPCM
- bool "14 wait states"
-
-config OR1_SCY_15
- depends on BR1_MACHINE_GPCM
- bool "15 wait states"
-
-endchoice
-
-endif # BR1_MACHINE_GPCM || BR1_MACHINE_FCM
-
-if BR1_MACHINE_GPCM
-
-choice
- prompt "Chip select negotiation time"
-
-config OR1_CSNT_NORMAL
- bool "Normal"
-
-config OR1_CSNT_EARLIER
- bool "Earlier"
-
-endchoice
-
-choice
- prompt "Address to chip-select setup"
-
-config OR1_ACS_SAME_TIME
- bool "At the same time"
-
-config OR1_ACS_HALF_CYCLE_EARLIER
- bool "Half of a bus clock cycle earlier"
-
-config OR1_ACS_QUARTER_CYCLE_EARLIER
- bool "Half/Quarter of a bus clock cycle earlier"
-
-endchoice
-
-choice
- prompt "Extra address to check-select setup"
-
-config OR1_XACS_NORMAL
- bool "Normal"
-
-config OR1_XACS_EXTENDED
- bool "Extended"
-
-endchoice
-
-choice
- prompt "External address termination"
-
-config OR1_SETA_INTERNAL
- bool "Access is terminated internally"
-
-config OR1_SETA_EXTERNAL
- bool "Access is terminated externally"
-
-endchoice
-
-endif # BR1_MACHINE_GPCM
-
-if BR1_MACHINE_FCM
-
-choice
- prompt "NAND Flash EEPROM page size"
-
-config OR1_PGS_SMALL
- bool "Small page device"
-
-config OR1_PGS_LARGE
- bool "Large page device"
-
-endchoice
-
-choice
- prompt "Chip select to command time"
-
-config OR1_CSCT_1_CYCLE
- depends on OR1_TRLX_NORMAL
- bool "1 cycle"
-
-config OR1_CSCT_2_CYCLE
- depends on OR1_TRLX_RELAXED
- bool "2 cycles"
-
-config OR1_CSCT_4_CYCLE
- depends on OR1_TRLX_NORMAL
- bool "4 cycles"
-
-config OR1_CSCT_8_CYCLE
- depends on OR1_TRLX_RELAXED
- bool "8 cycles"
-
-endchoice
-
-choice
- prompt "Command setup time"
-
-config OR1_CST_COINCIDENT
- depends on OR1_TRLX_NORMAL
- bool "Coincident with any command"
-
-config OR1_CST_QUARTER_CLOCK
- depends on OR1_TRLX_NORMAL
- bool "0.25 clocks after"
-
-config OR1_CST_HALF_CLOCK
- depends on OR1_TRLX_RELAXED
- bool "0.5 clocks after"
-
-config OR1_CST_ONE_CLOCK
- depends on OR1_TRLX_RELAXED
- bool "1 clock after"
-
-endchoice
-
-choice
- prompt "Command hold time"
-
-config OR1_CHT_HALF_CLOCK
- depends on OR1_TRLX_NORMAL
- bool "0.5 clocks before"
-
-config OR1_CHT_ONE_CLOCK
- depends on OR1_TRLX_NORMAL
- bool "1 clock before"
-
-config OR1_CHT_ONE_HALF_CLOCK
- depends on OR1_TRLX_RELAXED
- bool "1.5 clocks before"
-
-config OR1_CHT_TWO_CLOCK
- depends on OR1_TRLX_RELAXED
- bool "2 clocks before"
-
-endchoice
-
-choice
- prompt "Reset setup time"
-
-config OR1_RST_THREE_QUARTER_CLOCK
- depends on OR1_TRLX_NORMAL
- bool "0.75 clocks prior"
-
-config OR1_RST_ONE_HALF_CLOCK
- depends on OR1_TRLX_RELAXED
- bool "0.5 clocks prior"
-
-config OR1_RST_ONE_CLOCK
- bool "1 clock prior"
-
-endchoice
-
-endif # BR1_MACHINE_FCM
-
-if BR1_MACHINE_UPM
-
-choice
- prompt "Burst inhibit"
-
-config OR1_BI_BURSTSUPPORT
- bool "Support burst access"
-
-config OR1_BI_BURSTINHIBIT
- bool "Inhibit burst access"
-
-endchoice
-
-endif # BR1_MACHINE_UPM
-
-if BR1_MACHINE_SDRAM
-
-choice
- prompt "Number of column address lines"
-
-config OR1_COLS_7
- bool "7"
-
-config OR1_COLS_8
- bool "8"
-
-config OR1_COLS_9
- bool "9"
-
-config OR1_COLS_10
- bool "10"
-
-config OR1_COLS_11
- bool "11"
-
-config OR1_COLS_12
- bool "12"
-
-config OR1_COLS_13
- bool "13"
-
-config OR1_COLS_14
- bool "14"
-
-endchoice
-
-choice
- prompt "Number of rows address lines"
-
-config OR1_ROWS_9
- bool "9"
-
-config OR1_ROWS_10
- bool "10"
-
-config OR1_ROWS_11
- bool "11"
-
-config OR1_ROWS_12
- bool "12"
-
-config OR1_ROWS_13
- bool "13"
-
-config OR1_ROWS_14
- bool "14"
-
-config OR1_ROWS_15
- bool "15"
-
-endchoice
-
-choice
- prompt "Page mode select"
-
-config OR1_PMSEL_BTB
- bool "Back-to-back"
-
-config OR1_PMSEL_KEPT_OPEN
- bool "Page kept open until page miss or refresh"
-
-endchoice
-
-endif # BR1_MACHINE_SDRAM
-
-choice
- prompt "Relaxed timing"
-
-config OR1_TRLX_NORMAL
- bool "Normal"
-
-config OR1_TRLX_RELAXED
- bool "Relaxed"
-
-endchoice
-
-choice
- prompt "Extended hold time"
-
-config OR1_EHTR_NORMAL
- depends on OR1_TRLX_NORMAL
- bool "Normal"
-
-config OR1_EHTR_1_CYCLE
- depends on OR1_TRLX_NORMAL
- bool "1 idle clock cycle inserted"
-
-config OR1_EHTR_4_CYCLE
- depends on OR1_TRLX_RELAXED
- bool "4 idle clock cycles inserted"
-
-config OR1_EHTR_8_CYCLE
- depends on OR1_TRLX_RELAXED
- bool "8 idle clock cycles inserted"
-
-endchoice
-
-if !ARCH_MPC8308
-
-choice
- prompt "External address latch delay"
-
-config OR1_EAD_NONE
- bool "None"
-
-config OR1_EAD_EXTRA
- bool "Extra"
-
-endchoice
-
-endif # !ARCH_MPC8308
-
-endif # ELBC_BR1_OR1
-
-config BR1_PORTSIZE
- hex
- default 0x800 if BR1_PORTSIZE_8BIT
- default 0x1000 if BR1_PORTSIZE_16BIT
- default 0x1800 if BR1_PORTSIZE_32BIT
-
-config BR1_ERRORCHECKING
- hex
- default 0x0 if !BR1_MACHINE_FCM
- default 0x0 if BR1_ERRORCHECKING_DISABLED
- default 0x200 if BR1_ERRORCHECKING_ECC_CHECKING
- default 0x400 if BR1_ERRORCHECKING_BOTH
-
-config BR1_WRITE_PROTECT_BIT
- hex
- default 0x0 if !BR1_WRITE_PROTECT
- default 0x100 if BR1_WRITE_PROTECT
-
-config BR1_MACHINE
- hex
- default 0x0 if BR1_MACHINE_GPCM
- default 0x20 if BR1_MACHINE_FCM
- default 0x60 if BR1_MACHINE_SDRAM
- default 0x80 if BR1_MACHINE_UPMA
- default 0xa0 if BR1_MACHINE_UPMB
- default 0xc0 if BR1_MACHINE_UPMC
-
-config BR1_ATOMIC
- hex
- default 0x0 if !ARCH_MPC8313 && !ARCH_MPC8323 && !ARCH_MPC8360
- default 0x0 if BR1_ATOMIC_NONE
- default 0x4 if BR1_ATOMIC_RAWA
- default 0x8 if BR1_ATOMIC_WARA
-
-config BR1_VALID_BIT
- hex
- default 0x0 if !ELBC_BR1_OR1
- default 0x1 if ELBC_BR1_OR1
-
-config OR1_AM
- hex
- default 0xffff8000 if OR1_AM_32_KBYTES && !BR1_MACHINE_SDRAM
- default 0xffff0000 if OR1_AM_64_KBYTES
- default 0xfffe0000 if OR1_AM_128_KBYTES
- default 0xfffc0000 if OR1_AM_256_KBYTES
- default 0xfff80000 if OR1_AM_512_KBYTES
- default 0xfff00000 if OR1_AM_1_MBYTES
- default 0xffe00000 if OR1_AM_2_MBYTES
- default 0xffc00000 if OR1_AM_4_MBYTES
- default 0xff800000 if OR1_AM_8_MBYTES
- default 0xff000000 if OR1_AM_16_MBYTES
- default 0xfe000000 if OR1_AM_32_MBYTES
- default 0xfc000000 if OR1_AM_64_MBYTES
- default 0xf8000000 if OR1_AM_128_MBYTES
- default 0xf0000000 if OR1_AM_256_MBYTES
- default 0xe0000000 if OR1_AM_512_MBYTES
- default 0xc0000000 if OR1_AM_1_GBYTES
- default 0x80000000 if OR1_AM_2_GBYTES
- default 0x00000000 if OR1_AM_4_GBYTES
-
-config OR1_XAM
- hex
- default 0x0 if !OR1_XAM_SET
- default 0x6000 if OR1_XAM_SET
-
-config OR1_BCTLD
- hex
- default 0x0 if OR1_BCTLD_ASSERTED
- default 0x1000 if OR1_BCTLD_NOT_ASSERTED
-
-config OR1_BI
- hex
- default 0x0 if !BR1_MACHINE_UPM
- default 0x0 if OR1_BI_BURSTSUPPORT
- default 0x100 if OR1_BI_BURSTINHIBIT
-
-config OR1_COLS
- hex
- default 0x0 if !BR1_MACHINE_SDRAM
- default 0x0 if OR1_COLS_7
- default 0x400 if OR1_COLS_8
- default 0x800 if OR1_COLS_9
- default 0xc00 if OR1_COLS_10
- default 0x1000 if OR1_COLS_11
- default 0x1400 if OR1_COLS_12
- default 0x1800 if OR1_COLS_13
- default 0x1c00 if OR1_COLS_14
-
-config OR1_ROWS
- hex
- default 0x0 if !BR1_MACHINE_SDRAM
- default 0x0 if OR1_ROWS_9
- default 0x40 if OR1_ROWS_10
- default 0x80 if OR1_ROWS_11
- default 0xc0 if OR1_ROWS_12
- default 0x100 if OR1_ROWS_13
- default 0x140 if OR1_ROWS_14
- default 0x180 if OR1_ROWS_15
-
-config OR1_PMSEL
- hex
- default 0x0 if !BR1_MACHINE_SDRAM
- default 0x0 if OR1_PMSEL_BTB
- default 0x20 if OR1_PMSEL_KEPT_OPEN
-
-config OR1_SCY
- hex
- default 0x0 if !BR1_MACHINE_GPCM && !BR1_MACHINE_FCM
- default 0x0 if OR1_SCY_0
- default 0x10 if OR1_SCY_1
- default 0x20 if OR1_SCY_2
- default 0x30 if OR1_SCY_3
- default 0x40 if OR1_SCY_4
- default 0x50 if OR1_SCY_5
- default 0x60 if OR1_SCY_6
- default 0x70 if OR1_SCY_7
- default 0x80 if OR1_SCY_8
- default 0x90 if OR1_SCY_9
- default 0xa0 if OR1_SCY_10
- default 0xb0 if OR1_SCY_11
- default 0xc0 if OR1_SCY_12
- default 0xd0 if OR1_SCY_13
- default 0xe0 if OR1_SCY_14
- default 0xf0 if OR1_SCY_15
-
-config OR1_PGS
- hex
- default 0x0 if !BR1_MACHINE_FCM
- default 0x0 if OR1_PGS_SMALL
- default 0x400 if OR1_PGS_LARGE
-
-config OR1_CSCT
- hex
- default 0x0 if !BR1_MACHINE_FCM
- default 0x0 if OR1_CSCT_1_CYCLE
- default 0x0 if OR1_CSCT_2_CYCLE
- default 0x200 if OR1_CSCT_4_CYCLE
- default 0x200 if OR1_CSCT_8_CYCLE
-
-config OR1_CST
- hex
- default 0x0 if !BR1_MACHINE_FCM
- default 0x0 if OR1_CST_COINCIDENT
- default 0x100 if OR1_CST_QUARTER_CLOCK
- default 0x0 if OR1_CST_HALF_CLOCK
- default 0x100 if OR1_CST_ONE_CLOCK
-
-config OR1_CHT
- hex
- default 0x0 if !BR1_MACHINE_FCM
- default 0x0 if OR1_CHT_HALF_CLOCK
- default 0x80 if OR1_CHT_ONE_CLOCK
- default 0x0 if OR1_CHT_ONE_HALF_CLOCK
- default 0x80 if OR1_CHT_TWO_CLOCK
-
-config OR1_RST
- hex
- default 0x0 if !BR1_MACHINE_FCM
- default 0x0 if OR1_RST_THREE_QUARTER_CLOCK
- default 0x8 if OR1_RST_ONE_CLOCK
- default 0x0 if OR1_RST_ONE_HALF_CLOCK
-
-config OR1_CSNT
- hex
- default 0x0 if !BR1_MACHINE_GPCM
- default 0x0 if OR1_CSNT_NORMAL
- default 0x800 if OR1_CSNT_EARLIER
-
-config OR1_ACS
- hex
- default 0x0 if !BR1_MACHINE_GPCM
- default 0x0 if OR1_ACS_SAME_TIME
- default 0x400 if OR1_ACS_QUARTER_CYCLE_EARLIER
- default 0x600 if OR1_ACS_HALF_CYCLE_EARLIER
-
-config OR1_XACS
- hex
- default 0x0 if !BR1_MACHINE_GPCM
- default 0x0 if OR1_XACS_NORMAL
- default 0x100 if OR1_XACS_EXTENDED
-
-config OR1_SETA
- hex
- default 0x0 if !BR1_MACHINE_GPCM
- default 0x0 if OR1_SETA_INTERNAL
- default 0x8 if OR1_SETA_EXTERNAL
-
-config OR1_TRLX
- hex
- default 0x0 if OR1_TRLX_NORMAL
- default 0x4 if OR1_TRLX_RELAXED
-
-config OR1_EHTR
- hex
- default 0x0 if OR1_EHTR_NORMAL
- default 0x2 if OR1_EHTR_1_CYCLE
- default 0x0 if OR1_EHTR_4_CYCLE
- default 0x2 if OR1_EHTR_8_CYCLE
-
-config OR1_EAD
- hex
- default 0x0 if ARCH_MPC8308
- default 0x0 if OR1_EAD_NONE
- default 0x1 if OR1_EAD_EXTRA
diff --git a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2 b/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2
deleted file mode 100644
index a9b2546cd8..0000000000
--- a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2
+++ /dev/null
@@ -1,733 +0,0 @@
-menuconfig ELBC_BR2_OR2
- bool "ELBC BR2/OR2"
-
-if ELBC_BR2_OR2
-
-config BR2_OR2_NAME
- string "Identifier"
-
-config BR2_OR2_BASE
- hex "Port base"
-
-choice
- prompt "Port size"
-
-config BR2_PORTSIZE_8BIT
- bool "8-bit"
-
-config BR2_PORTSIZE_16BIT
- depends on !BR2_MACHINE_FCM
- bool "16-bit"
-
-
-config BR2_PORTSIZE_32BIT
- depends on !BR2_MACHINE_FCM
- depends on ARCH_MPC8360 || ARCH_MPC8379
- bool "32-bit"
-
-endchoice
-
-if BR2_MACHINE_FCM
-
-choice
- prompt "Data Error Checking"
-
-config BR2_ERRORCHECKING_DISABLED
- bool "Disabled"
-
-config BR2_ERRORCHECKING_ECC_CHECKING
- bool "ECC checking / No ECC generation"
-
-config BR2_ERRORCHECKING_BOTH
- bool "ECC checking and generation"
-
-endchoice
-
-endif
-
-config BR2_WRITE_PROTECT
- bool "Write-protect"
-
-config BR2_MACHINE_UPM
- bool
-
-choice
- prompt "Machine select"
-
-config BR2_MACHINE_GPCM
- bool "GPCM"
-
-config BR2_MACHINE_FCM
- depends on !ARCH_MPC832X && !ARCH_MPC8360
- bool "FCM"
-
-config BR2_MACHINE_SDRAM
- depends on ARCH_MPC8360
- bool "SDRAM"
-
-config BR2_MACHINE_UPMA
- select BR2_MACHINE_UPM
- bool "UPM (A)"
-
-config BR2_MACHINE_UPMB
- select BR2_MACHINE_UPM
- bool "UPM (B)"
-
-config BR2_MACHINE_UPMC
- select BR2_MACHINE_UPM
- bool "UPM (C)"
-
-endchoice
-
-if ARCH_MPC8313 || ARCH_MPC8323 || ARCH_MPC8360
-
-choice
- prompt "Atomic operations"
-
-config BR2_ATOMIC_NONE
- bool "No atomic operations"
-
-config BR2_ATOMIC_RAWA
- bool "Read-after-write-atomic"
-
-config BR2_ATOMIC_WARA
- bool "Write-after-read-atomic"
-
-endchoice
-
-endif
-
-if BR2_MACHINE_GPCM || BR2_MACHINE_FCM || BR2_MACHINE_UPM || BR2_MACHINE_SDRAM
-
-choice
- prompt "Address mask"
-
-config OR2_AM_32_KBYTES
- depends on !BR2_MACHINE_SDRAM
- bool "32 kb"
-
-config OR2_AM_64_KBYTES
- bool "64 kb"
-
-config OR2_AM_128_KBYTES
- bool "128 kb"
-
-config OR2_AM_256_KBYTES
- bool "256 kb"
-
-config OR2_AM_512_KBYTES
- bool "512 kb"
-
-config OR2_AM_1_MBYTES
- bool "1 mb"
-
-config OR2_AM_2_MBYTES
- bool "2 mb"
-
-config OR2_AM_4_MBYTES
- bool "4 mb"
-
-config OR2_AM_8_MBYTES
- bool "8 mb"
-
-config OR2_AM_16_MBYTES
- bool "16 mb"
-
-config OR2_AM_32_MBYTES
- bool "32 mb"
-
-config OR2_AM_64_MBYTES
- bool "64 mb"
-
-# XXX: Some boards define 128MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR2_AM_128_MBYTES
- bool "128 mb"
-
-# XXX: Some boards define 256MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR2_AM_256_MBYTES
- bool "256 mb"
-
-config OR2_AM_512_MBYTES
- depends on BR2_MACHINE_FCM
- bool "512 mb"
-
-# XXX: Some boards define 1GB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR2_AM_1_GBYTES
- bool "1 gb"
-
-config OR2_AM_2_GBYTES
- depends on BR2_MACHINE_FCM
- bool "2 gb"
-
-config OR2_AM_4_GBYTES
- depends on BR2_MACHINE_FCM
- bool "4 gb"
-
-endchoice
-
-config OR2_XAM_SET
- bool "Set unused bytes after address mask"
-choice
- prompt "Buffer control disable"
-
-config OR2_BCTLD_ASSERTED
- bool "Asserted"
-
-config OR2_BCTLD_NOT_ASSERTED
- bool "Not asserted"
-
-endchoice
-
-endif
-
-if BR2_MACHINE_GPCM || BR2_MACHINE_FCM
-
-choice
- prompt "Cycle length in bus clocks"
-
-config OR2_SCY_0
- bool "No wait states"
-
-config OR2_SCY_1
- bool "1 wait state"
-
-config OR2_SCY_2
- bool "2 wait states"
-
-config OR2_SCY_3
- bool "3 wait states"
-
-config OR2_SCY_4
- bool "4 wait states"
-
-config OR2_SCY_5
- bool "5 wait states"
-
-config OR2_SCY_6
- bool "6 wait states"
-
-config OR2_SCY_7
- bool "7 wait states"
-
-config OR2_SCY_8
- depends on BR2_MACHINE_GPCM
- bool "8 wait states"
-
-config OR2_SCY_9
- depends on BR2_MACHINE_GPCM
- bool "9 wait states"
-
-config OR2_SCY_10
- depends on BR2_MACHINE_GPCM
- bool "10 wait states"
-
-config OR2_SCY_11
- depends on BR2_MACHINE_GPCM
- bool "11 wait states"
-
-config OR2_SCY_12
- depends on BR2_MACHINE_GPCM
- bool "12 wait states"
-
-config OR2_SCY_13
- depends on BR2_MACHINE_GPCM
- bool "13 wait states"
-
-config OR2_SCY_14
- depends on BR2_MACHINE_GPCM
- bool "14 wait states"
-
-config OR2_SCY_15
- depends on BR2_MACHINE_GPCM
- bool "15 wait states"
-
-endchoice
-
-endif # BR2_MACHINE_GPCM || BR2_MACHINE_FCM
-
-if BR2_MACHINE_GPCM
-
-choice
- prompt "Chip select negotiation time"
-
-config OR2_CSNT_NORMAL
- bool "Normal"
-
-config OR2_CSNT_EARLIER
- bool "Earlier"
-
-endchoice
-
-choice
- prompt "Address to chip-select setup"
-
-config OR2_ACS_SAME_TIME
- bool "At the same time"
-
-config OR2_ACS_HALF_CYCLE_EARLIER
- bool "Half of a bus clock cycle earlier"
-
-config OR2_ACS_QUARTER_CYCLE_EARLIER
- bool "Half/Quarter of a bus clock cycle earlier"
-
-endchoice
-
-choice
- prompt "Extra address to check-select setup"
-
-config OR2_XACS_NORMAL
- bool "Normal"
-
-config OR2_XACS_EXTENDED
- bool "Extended"
-
-endchoice
-
-choice
- prompt "External address termination"
-
-config OR2_SETA_INTERNAL
- bool "Access is terminated internally"
-
-config OR2_SETA_EXTERNAL
- bool "Access is terminated externally"
-
-endchoice
-
-endif # BR2_MACHINE_GPCM
-
-if BR2_MACHINE_FCM
-
-choice
- prompt "NAND Flash EEPROM page size"
-
-config OR2_PGS_SMALL
- bool "Small page device"
-
-config OR2_PGS_LARGE
- bool "Large page device"
-
-endchoice
-
-choice
- prompt "Chip select to command time"
-
-config OR2_CSCT_1_CYCLE
- depends on OR2_TRLX_NORMAL
- bool "1 cycle"
-
-config OR2_CSCT_2_CYCLE
- depends on OR2_TRLX_RELAXED
- bool "2 cycles"
-
-config OR2_CSCT_4_CYCLE
- depends on OR2_TRLX_NORMAL
- bool "4 cycles"
-
-config OR2_CSCT_8_CYCLE
- depends on OR2_TRLX_RELAXED
- bool "8 cycles"
-
-endchoice
-
-choice
- prompt "Command setup time"
-
-config OR2_CST_COINCIDENT
- depends on OR2_TRLX_NORMAL
- bool "Coincident with any command"
-
-config OR2_CST_QUARTER_CLOCK
- depends on OR2_TRLX_NORMAL
- bool "0.25 clocks after"
-
-config OR2_CST_HALF_CLOCK
- depends on OR2_TRLX_RELAXED
- bool "0.5 clocks after"
-
-config OR2_CST_ONE_CLOCK
- depends on OR2_TRLX_RELAXED
- bool "1 clock after"
-
-endchoice
-
-choice
- prompt "Command hold time"
-
-config OR2_CHT_HALF_CLOCK
- depends on OR2_TRLX_NORMAL
- bool "0.5 clocks before"
-
-config OR2_CHT_ONE_CLOCK
- depends on OR2_TRLX_NORMAL
- bool "1 clock before"
-
-config OR2_CHT_ONE_HALF_CLOCK
- depends on OR2_TRLX_RELAXED
- bool "1.5 clocks before"
-
-config OR2_CHT_TWO_CLOCK
- depends on OR2_TRLX_RELAXED
- bool "2 clocks before"
-
-endchoice
-
-choice
- prompt "Reset setup time"
-
-config OR2_RST_THREE_QUARTER_CLOCK
- depends on OR2_TRLX_NORMAL
- bool "0.75 clocks prior"
-
-config OR2_RST_ONE_HALF_CLOCK
- depends on OR2_TRLX_RELAXED
- bool "0.5 clocks prior"
-
-config OR2_RST_ONE_CLOCK
- bool "1 clock prior"
-
-endchoice
-
-endif # BR2_MACHINE_FCM
-
-if BR2_MACHINE_UPM
-
-choice
- prompt "Burst inhibit"
-
-config OR2_BI_BURSTSUPPORT
- bool "Support burst access"
-
-config OR2_BI_BURSTINHIBIT
- bool "Inhibit burst access"
-
-endchoice
-
-endif # BR2_MACHINE_UPM
-
-if BR2_MACHINE_SDRAM
-
-choice
- prompt "Number of column address lines"
-
-config OR2_COLS_7
- bool "7"
-
-config OR2_COLS_8
- bool "8"
-
-config OR2_COLS_9
- bool "9"
-
-config OR2_COLS_10
- bool "10"
-
-config OR2_COLS_11
- bool "11"
-
-config OR2_COLS_12
- bool "12"
-
-config OR2_COLS_13
- bool "13"
-
-config OR2_COLS_14
- bool "14"
-
-endchoice
-
-choice
- prompt "Number of rows address lines"
-
-config OR2_ROWS_9
- bool "9"
-
-config OR2_ROWS_10
- bool "10"
-
-config OR2_ROWS_11
- bool "11"
-
-config OR2_ROWS_12
- bool "12"
-
-config OR2_ROWS_13
- bool "13"
-
-config OR2_ROWS_14
- bool "14"
-
-config OR2_ROWS_15
- bool "15"
-
-endchoice
-
-choice
- prompt "Page mode select"
-
-config OR2_PMSEL_BTB
- bool "Back-to-back"
-
-config OR2_PMSEL_KEPT_OPEN
- bool "Page kept open until page miss or refresh"
-
-endchoice
-
-endif # BR2_MACHINE_SDRAM
-
-choice
- prompt "Relaxed timing"
-
-config OR2_TRLX_NORMAL
- bool "Normal"
-
-config OR2_TRLX_RELAXED
- bool "Relaxed"
-
-endchoice
-
-choice
- prompt "Extended hold time"
-
-config OR2_EHTR_NORMAL
- depends on OR2_TRLX_NORMAL
- bool "Normal"
-
-config OR2_EHTR_1_CYCLE
- depends on OR2_TRLX_NORMAL
- bool "1 idle clock cycle inserted"
-
-config OR2_EHTR_4_CYCLE
- depends on OR2_TRLX_RELAXED
- bool "4 idle clock cycles inserted"
-
-config OR2_EHTR_8_CYCLE
- depends on OR2_TRLX_RELAXED
- bool "8 idle clock cycles inserted"
-
-endchoice
-
-if !ARCH_MPC8308
-
-choice
- prompt "External address latch delay"
-
-config OR2_EAD_NONE
- bool "None"
-
-config OR2_EAD_EXTRA
- bool "Extra"
-
-endchoice
-
-endif # !ARCH_MPC8308
-
-endif # ELBC_BR2_OR2
-
-config BR2_PORTSIZE
- hex
- default 0x800 if BR2_PORTSIZE_8BIT
- default 0x1000 if BR2_PORTSIZE_16BIT
- default 0x1800 if BR2_PORTSIZE_32BIT
-
-config BR2_ERRORCHECKING
- hex
- default 0x0 if !BR2_MACHINE_FCM
- default 0x0 if BR2_ERRORCHECKING_DISABLED
- default 0x200 if BR2_ERRORCHECKING_ECC_CHECKING
- default 0x400 if BR2_ERRORCHECKING_BOTH
-
-config BR2_WRITE_PROTECT_BIT
- hex
- default 0x0 if !BR2_WRITE_PROTECT
- default 0x100 if BR2_WRITE_PROTECT
-
-config BR2_MACHINE
- hex
- default 0x0 if BR2_MACHINE_GPCM
- default 0x20 if BR2_MACHINE_FCM
- default 0x60 if BR2_MACHINE_SDRAM
- default 0x80 if BR2_MACHINE_UPMA
- default 0xa0 if BR2_MACHINE_UPMB
- default 0xc0 if BR2_MACHINE_UPMC
-
-config BR2_ATOMIC
- hex
- default 0x0 if !ARCH_MPC8313 && !ARCH_MPC8323 && !ARCH_MPC8360
- default 0x0 if BR2_ATOMIC_NONE
- default 0x4 if BR2_ATOMIC_RAWA
- default 0x8 if BR2_ATOMIC_WARA
-
-config BR2_VALID_BIT
- hex
- default 0x0 if !ELBC_BR2_OR2
- default 0x1 if ELBC_BR2_OR2
-
-config OR2_AM
- hex
- default 0xffff8000 if OR2_AM_32_KBYTES && !BR2_MACHINE_SDRAM
- default 0xffff0000 if OR2_AM_64_KBYTES
- default 0xfffe0000 if OR2_AM_128_KBYTES
- default 0xfffc0000 if OR2_AM_256_KBYTES
- default 0xfff80000 if OR2_AM_512_KBYTES
- default 0xfff00000 if OR2_AM_1_MBYTES
- default 0xffe00000 if OR2_AM_2_MBYTES
- default 0xffc00000 if OR2_AM_4_MBYTES
- default 0xff800000 if OR2_AM_8_MBYTES
- default 0xff000000 if OR2_AM_16_MBYTES
- default 0xfe000000 if OR2_AM_32_MBYTES
- default 0xfc000000 if OR2_AM_64_MBYTES
- default 0xf8000000 if OR2_AM_128_MBYTES
- default 0xf0000000 if OR2_AM_256_MBYTES
- default 0xe0000000 if OR2_AM_512_MBYTES
- default 0xc0000000 if OR2_AM_1_GBYTES
- default 0x80000000 if OR2_AM_2_GBYTES
- default 0x00000000 if OR2_AM_4_GBYTES
-
-config OR2_XAM
- hex
- default 0x0 if !OR2_XAM_SET
- default 0x6000 if OR2_XAM_SET
-
-config OR2_BCTLD
- hex
- default 0x0 if OR2_BCTLD_ASSERTED
- default 0x1000 if OR2_BCTLD_NOT_ASSERTED
-
-config OR2_BI
- hex
- default 0x0 if !BR2_MACHINE_UPM
- default 0x0 if OR2_BI_BURSTSUPPORT
- default 0x100 if OR2_BI_BURSTINHIBIT
-
-config OR2_COLS
- hex
- default 0x0 if !BR2_MACHINE_SDRAM
- default 0x0 if OR2_COLS_7
- default 0x400 if OR2_COLS_8
- default 0x800 if OR2_COLS_9
- default 0xc00 if OR2_COLS_10
- default 0x1000 if OR2_COLS_11
- default 0x1400 if OR2_COLS_12
- default 0x1800 if OR2_COLS_13
- default 0x1c00 if OR2_COLS_14
-
-config OR2_ROWS
- hex
- default 0x0 if !BR2_MACHINE_SDRAM
- default 0x0 if OR2_ROWS_9
- default 0x40 if OR2_ROWS_10
- default 0x80 if OR2_ROWS_11
- default 0xc0 if OR2_ROWS_12
- default 0x100 if OR2_ROWS_13
- default 0x140 if OR2_ROWS_14
- default 0x180 if OR2_ROWS_15
-
-config OR2_PMSEL
- hex
- default 0x0 if !BR2_MACHINE_SDRAM
- default 0x0 if OR2_PMSEL_BTB
- default 0x20 if OR2_PMSEL_KEPT_OPEN
-
-config OR2_SCY
- hex
- default 0x0 if !BR2_MACHINE_GPCM && !BR2_MACHINE_FCM
- default 0x0 if OR2_SCY_0
- default 0x10 if OR2_SCY_1
- default 0x20 if OR2_SCY_2
- default 0x30 if OR2_SCY_3
- default 0x40 if OR2_SCY_4
- default 0x50 if OR2_SCY_5
- default 0x60 if OR2_SCY_6
- default 0x70 if OR2_SCY_7
- default 0x80 if OR2_SCY_8
- default 0x90 if OR2_SCY_9
- default 0xa0 if OR2_SCY_10
- default 0xb0 if OR2_SCY_11
- default 0xc0 if OR2_SCY_12
- default 0xd0 if OR2_SCY_13
- default 0xe0 if OR2_SCY_14
- default 0xf0 if OR2_SCY_15
-
-config OR2_PGS
- hex
- default 0x0 if !BR2_MACHINE_FCM
- default 0x0 if OR2_PGS_SMALL
- default 0x400 if OR2_PGS_LARGE
-
-config OR2_CSCT
- hex
- default 0x0 if !BR2_MACHINE_FCM
- default 0x0 if OR2_CSCT_1_CYCLE
- default 0x0 if OR2_CSCT_2_CYCLE
- default 0x200 if OR2_CSCT_4_CYCLE
- default 0x200 if OR2_CSCT_8_CYCLE
-
-config OR2_CST
- hex
- default 0x0 if !BR2_MACHINE_FCM
- default 0x0 if OR2_CST_COINCIDENT
- default 0x100 if OR2_CST_QUARTER_CLOCK
- default 0x0 if OR2_CST_HALF_CLOCK
- default 0x100 if OR2_CST_ONE_CLOCK
-
-config OR2_CHT
- hex
- default 0x0 if !BR2_MACHINE_FCM
- default 0x0 if OR2_CHT_HALF_CLOCK
- default 0x80 if OR2_CHT_ONE_CLOCK
- default 0x0 if OR2_CHT_ONE_HALF_CLOCK
- default 0x80 if OR2_CHT_TWO_CLOCK
-
-config OR2_RST
- hex
- default 0x0 if !BR2_MACHINE_FCM
- default 0x0 if OR2_RST_THREE_QUARTER_CLOCK
- default 0x8 if OR2_RST_ONE_CLOCK
- default 0x0 if OR2_RST_ONE_HALF_CLOCK
-
-config OR2_CSNT
- hex
- default 0x0 if !BR2_MACHINE_GPCM
- default 0x0 if OR2_CSNT_NORMAL
- default 0x800 if OR2_CSNT_EARLIER
-
-config OR2_ACS
- hex
- default 0x0 if !BR2_MACHINE_GPCM
- default 0x0 if OR2_ACS_SAME_TIME
- default 0x400 if OR2_ACS_QUARTER_CYCLE_EARLIER
- default 0x600 if OR2_ACS_HALF_CYCLE_EARLIER
-
-config OR2_XACS
- hex
- default 0x0 if !BR2_MACHINE_GPCM
- default 0x0 if OR2_XACS_NORMAL
- default 0x100 if OR2_XACS_EXTENDED
-
-config OR2_SETA
- hex
- default 0x0 if !BR2_MACHINE_GPCM
- default 0x0 if OR2_SETA_INTERNAL
- default 0x8 if OR2_SETA_EXTERNAL
-
-config OR2_TRLX
- hex
- default 0x0 if OR2_TRLX_NORMAL
- default 0x4 if OR2_TRLX_RELAXED
-
-config OR2_EHTR
- hex
- default 0x0 if OR2_EHTR_NORMAL
- default 0x2 if OR2_EHTR_1_CYCLE
- default 0x0 if OR2_EHTR_4_CYCLE
- default 0x2 if OR2_EHTR_8_CYCLE
-
-config OR2_EAD
- hex
- default 0x0 if ARCH_MPC8308
- default 0x0 if OR2_EAD_NONE
- default 0x1 if OR2_EAD_EXTRA
diff --git a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3 b/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3
deleted file mode 100644
index 94442cdc97..0000000000
--- a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3
+++ /dev/null
@@ -1,733 +0,0 @@
-menuconfig ELBC_BR3_OR3
- bool "ELBC BR3/OR3"
-
-if ELBC_BR3_OR3
-
-config BR3_OR3_NAME
- string "Identifier"
-
-config BR3_OR3_BASE
- hex "Port base"
-
-choice
- prompt "Port size"
-
-config BR3_PORTSIZE_8BIT
- bool "8-bit"
-
-config BR3_PORTSIZE_16BIT
- depends on !BR3_MACHINE_FCM
- bool "16-bit"
-
-
-config BR3_PORTSIZE_32BIT
- depends on !BR3_MACHINE_FCM
- depends on ARCH_MPC8360 || ARCH_MPC8379
- bool "32-bit"
-
-endchoice
-
-if BR3_MACHINE_FCM
-
-choice
- prompt "Data Error Checking"
-
-config BR3_ERRORCHECKING_DISABLED
- bool "Disabled"
-
-config BR3_ERRORCHECKING_ECC_CHECKING
- bool "ECC checking / No ECC generation"
-
-config BR3_ERRORCHECKING_BOTH
- bool "ECC checking and generation"
-
-endchoice
-
-endif
-
-config BR3_WRITE_PROTECT
- bool "Write-protect"
-
-config BR3_MACHINE_UPM
- bool
-
-choice
- prompt "Machine select"
-
-config BR3_MACHINE_GPCM
- bool "GPCM"
-
-config BR3_MACHINE_FCM
- depends on !ARCH_MPC832X && !ARCH_MPC8360
- bool "FCM"
-
-config BR3_MACHINE_SDRAM
- depends on ARCH_MPC8360
- bool "SDRAM"
-
-config BR3_MACHINE_UPMA
- select BR3_MACHINE_UPM
- bool "UPM (A)"
-
-config BR3_MACHINE_UPMB
- select BR3_MACHINE_UPM
- bool "UPM (B)"
-
-config BR3_MACHINE_UPMC
- select BR3_MACHINE_UPM
- bool "UPM (C)"
-
-endchoice
-
-if ARCH_MPC8313 || ARCH_MPC8323 || ARCH_MPC8360
-
-choice
- prompt "Atomic operations"
-
-config BR3_ATOMIC_NONE
- bool "No atomic operations"
-
-config BR3_ATOMIC_RAWA
- bool "Read-after-write-atomic"
-
-config BR3_ATOMIC_WARA
- bool "Write-after-read-atomic"
-
-endchoice
-
-endif
-
-if BR3_MACHINE_GPCM || BR3_MACHINE_FCM || BR3_MACHINE_UPM || BR3_MACHINE_SDRAM
-
-choice
- prompt "Address mask"
-
-config OR3_AM_32_KBYTES
- depends on !BR3_MACHINE_SDRAM
- bool "32 kb"
-
-config OR3_AM_64_KBYTES
- bool "64 kb"
-
-config OR3_AM_128_KBYTES
- bool "128 kb"
-
-config OR3_AM_256_KBYTES
- bool "256 kb"
-
-config OR3_AM_512_KBYTES
- bool "512 kb"
-
-config OR3_AM_1_MBYTES
- bool "1 mb"
-
-config OR3_AM_2_MBYTES
- bool "2 mb"
-
-config OR3_AM_4_MBYTES
- bool "4 mb"
-
-config OR3_AM_8_MBYTES
- bool "8 mb"
-
-config OR3_AM_16_MBYTES
- bool "16 mb"
-
-config OR3_AM_32_MBYTES
- bool "32 mb"
-
-config OR3_AM_64_MBYTES
- bool "64 mb"
-
-# XXX: Some boards define 128MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR3_AM_128_MBYTES
- bool "128 mb"
-
-# XXX: Some boards define 256MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR3_AM_256_MBYTES
- bool "256 mb"
-
-config OR3_AM_512_MBYTES
- depends on BR3_MACHINE_FCM
- bool "512 mb"
-
-# XXX: Some boards define 1GB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR3_AM_1_GBYTES
- bool "1 gb"
-
-config OR3_AM_2_GBYTES
- depends on BR3_MACHINE_FCM
- bool "2 gb"
-
-config OR3_AM_4_GBYTES
- depends on BR3_MACHINE_FCM
- bool "4 gb"
-
-endchoice
-
-config OR3_XAM_SET
- bool "Set unused bytes after address mask"
-choice
- prompt "Buffer control disable"
-
-config OR3_BCTLD_ASSERTED
- bool "Asserted"
-
-config OR3_BCTLD_NOT_ASSERTED
- bool "Not asserted"
-
-endchoice
-
-endif
-
-if BR3_MACHINE_GPCM || BR3_MACHINE_FCM
-
-choice
- prompt "Cycle length in bus clocks"
-
-config OR3_SCY_0
- bool "No wait states"
-
-config OR3_SCY_1
- bool "1 wait state"
-
-config OR3_SCY_2
- bool "2 wait states"
-
-config OR3_SCY_3
- bool "3 wait states"
-
-config OR3_SCY_4
- bool "4 wait states"
-
-config OR3_SCY_5
- bool "5 wait states"
-
-config OR3_SCY_6
- bool "6 wait states"
-
-config OR3_SCY_7
- bool "7 wait states"
-
-config OR3_SCY_8
- depends on BR3_MACHINE_GPCM
- bool "8 wait states"
-
-config OR3_SCY_9
- depends on BR3_MACHINE_GPCM
- bool "9 wait states"
-
-config OR3_SCY_10
- depends on BR3_MACHINE_GPCM
- bool "10 wait states"
-
-config OR3_SCY_11
- depends on BR3_MACHINE_GPCM
- bool "11 wait states"
-
-config OR3_SCY_12
- depends on BR3_MACHINE_GPCM
- bool "12 wait states"
-
-config OR3_SCY_13
- depends on BR3_MACHINE_GPCM
- bool "13 wait states"
-
-config OR3_SCY_14
- depends on BR3_MACHINE_GPCM
- bool "14 wait states"
-
-config OR3_SCY_15
- depends on BR3_MACHINE_GPCM
- bool "15 wait states"
-
-endchoice
-
-endif # BR3_MACHINE_GPCM || BR3_MACHINE_FCM
-
-if BR3_MACHINE_GPCM
-
-choice
- prompt "Chip select negotiation time"
-
-config OR3_CSNT_NORMAL
- bool "Normal"
-
-config OR3_CSNT_EARLIER
- bool "Earlier"
-
-endchoice
-
-choice
- prompt "Address to chip-select setup"
-
-config OR3_ACS_SAME_TIME
- bool "At the same time"
-
-config OR3_ACS_HALF_CYCLE_EARLIER
- bool "Half of a bus clock cycle earlier"
-
-config OR3_ACS_QUARTER_CYCLE_EARLIER
- bool "Half/Quarter of a bus clock cycle earlier"
-
-endchoice
-
-choice
- prompt "Extra address to check-select setup"
-
-config OR3_XACS_NORMAL
- bool "Normal"
-
-config OR3_XACS_EXTENDED
- bool "Extended"
-
-endchoice
-
-choice
- prompt "External address termination"
-
-config OR3_SETA_INTERNAL
- bool "Access is terminated internally"
-
-config OR3_SETA_EXTERNAL
- bool "Access is terminated externally"
-
-endchoice
-
-endif # BR3_MACHINE_GPCM
-
-if BR3_MACHINE_FCM
-
-choice
- prompt "NAND Flash EEPROM page size"
-
-config OR3_PGS_SMALL
- bool "Small page device"
-
-config OR3_PGS_LARGE
- bool "Large page device"
-
-endchoice
-
-choice
- prompt "Chip select to command time"
-
-config OR3_CSCT_1_CYCLE
- depends on OR3_TRLX_NORMAL
- bool "1 cycle"
-
-config OR3_CSCT_2_CYCLE
- depends on OR3_TRLX_RELAXED
- bool "2 cycles"
-
-config OR3_CSCT_4_CYCLE
- depends on OR3_TRLX_NORMAL
- bool "4 cycles"
-
-config OR3_CSCT_8_CYCLE
- depends on OR3_TRLX_RELAXED
- bool "8 cycles"
-
-endchoice
-
-choice
- prompt "Command setup time"
-
-config OR3_CST_COINCIDENT
- depends on OR3_TRLX_NORMAL
- bool "Coincident with any command"
-
-config OR3_CST_QUARTER_CLOCK
- depends on OR3_TRLX_NORMAL
- bool "0.25 clocks after"
-
-config OR3_CST_HALF_CLOCK
- depends on OR3_TRLX_RELAXED
- bool "0.5 clocks after"
-
-config OR3_CST_ONE_CLOCK
- depends on OR3_TRLX_RELAXED
- bool "1 clock after"
-
-endchoice
-
-choice
- prompt "Command hold time"
-
-config OR3_CHT_HALF_CLOCK
- depends on OR3_TRLX_NORMAL
- bool "0.5 clocks before"
-
-config OR3_CHT_ONE_CLOCK
- depends on OR3_TRLX_NORMAL
- bool "1 clock before"
-
-config OR3_CHT_ONE_HALF_CLOCK
- depends on OR3_TRLX_RELAXED
- bool "1.5 clocks before"
-
-config OR3_CHT_TWO_CLOCK
- depends on OR3_TRLX_RELAXED
- bool "2 clocks before"
-
-endchoice
-
-choice
- prompt "Reset setup time"
-
-config OR3_RST_THREE_QUARTER_CLOCK
- depends on OR3_TRLX_NORMAL
- bool "0.75 clocks prior"
-
-config OR3_RST_ONE_HALF_CLOCK
- depends on OR3_TRLX_RELAXED
- bool "0.5 clocks prior"
-
-config OR3_RST_ONE_CLOCK
- bool "1 clock prior"
-
-endchoice
-
-endif # BR3_MACHINE_FCM
-
-if BR3_MACHINE_UPM
-
-choice
- prompt "Burst inhibit"
-
-config OR3_BI_BURSTSUPPORT
- bool "Support burst access"
-
-config OR3_BI_BURSTINHIBIT
- bool "Inhibit burst access"
-
-endchoice
-
-endif # BR3_MACHINE_UPM
-
-if BR3_MACHINE_SDRAM
-
-choice
- prompt "Number of column address lines"
-
-config OR3_COLS_7
- bool "7"
-
-config OR3_COLS_8
- bool "8"
-
-config OR3_COLS_9
- bool "9"
-
-config OR3_COLS_10
- bool "10"
-
-config OR3_COLS_11
- bool "11"
-
-config OR3_COLS_12
- bool "12"
-
-config OR3_COLS_13
- bool "13"
-
-config OR3_COLS_14
- bool "14"
-
-endchoice
-
-choice
- prompt "Number of rows address lines"
-
-config OR3_ROWS_9
- bool "9"
-
-config OR3_ROWS_10
- bool "10"
-
-config OR3_ROWS_11
- bool "11"
-
-config OR3_ROWS_12
- bool "12"
-
-config OR3_ROWS_13
- bool "13"
-
-config OR3_ROWS_14
- bool "14"
-
-config OR3_ROWS_15
- bool "15"
-
-endchoice
-
-choice
- prompt "Page mode select"
-
-config OR3_PMSEL_BTB
- bool "Back-to-back"
-
-config OR3_PMSEL_KEPT_OPEN
- bool "Page kept open until page miss or refresh"
-
-endchoice
-
-endif # BR3_MACHINE_SDRAM
-
-choice
- prompt "Relaxed timing"
-
-config OR3_TRLX_NORMAL
- bool "Normal"
-
-config OR3_TRLX_RELAXED
- bool "Relaxed"
-
-endchoice
-
-choice
- prompt "Extended hold time"
-
-config OR3_EHTR_NORMAL
- depends on OR3_TRLX_NORMAL
- bool "Normal"
-
-config OR3_EHTR_1_CYCLE
- depends on OR3_TRLX_NORMAL
- bool "1 idle clock cycle inserted"
-
-config OR3_EHTR_4_CYCLE
- depends on OR3_TRLX_RELAXED
- bool "4 idle clock cycles inserted"
-
-config OR3_EHTR_8_CYCLE
- depends on OR3_TRLX_RELAXED
- bool "8 idle clock cycles inserted"
-
-endchoice
-
-if !ARCH_MPC8308
-
-choice
- prompt "External address latch delay"
-
-config OR3_EAD_NONE
- bool "None"
-
-config OR3_EAD_EXTRA
- bool "Extra"
-
-endchoice
-
-endif # !ARCH_MPC8308
-
-endif # ELBC_BR3_OR3
-
-config BR3_PORTSIZE
- hex
- default 0x800 if BR3_PORTSIZE_8BIT
- default 0x1000 if BR3_PORTSIZE_16BIT
- default 0x1800 if BR3_PORTSIZE_32BIT
-
-config BR3_ERRORCHECKING
- hex
- default 0x0 if !BR3_MACHINE_FCM
- default 0x0 if BR3_ERRORCHECKING_DISABLED
- default 0x200 if BR3_ERRORCHECKING_ECC_CHECKING
- default 0x400 if BR3_ERRORCHECKING_BOTH
-
-config BR3_WRITE_PROTECT_BIT
- hex
- default 0x0 if !BR3_WRITE_PROTECT
- default 0x100 if BR3_WRITE_PROTECT
-
-config BR3_MACHINE
- hex
- default 0x0 if BR3_MACHINE_GPCM
- default 0x20 if BR3_MACHINE_FCM
- default 0x60 if BR3_MACHINE_SDRAM
- default 0x80 if BR3_MACHINE_UPMA
- default 0xa0 if BR3_MACHINE_UPMB
- default 0xc0 if BR3_MACHINE_UPMC
-
-config BR3_ATOMIC
- hex
- default 0x0 if !ARCH_MPC8313 && !ARCH_MPC8323 && !ARCH_MPC8360
- default 0x0 if BR3_ATOMIC_NONE
- default 0x4 if BR3_ATOMIC_RAWA
- default 0x8 if BR3_ATOMIC_WARA
-
-config BR3_VALID_BIT
- hex
- default 0x0 if !ELBC_BR3_OR3
- default 0x1 if ELBC_BR3_OR3
-
-config OR3_AM
- hex
- default 0xffff8000 if OR3_AM_32_KBYTES && !BR3_MACHINE_SDRAM
- default 0xffff0000 if OR3_AM_64_KBYTES
- default 0xfffe0000 if OR3_AM_128_KBYTES
- default 0xfffc0000 if OR3_AM_256_KBYTES
- default 0xfff80000 if OR3_AM_512_KBYTES
- default 0xfff00000 if OR3_AM_1_MBYTES
- default 0xffe00000 if OR3_AM_2_MBYTES
- default 0xffc00000 if OR3_AM_4_MBYTES
- default 0xff800000 if OR3_AM_8_MBYTES
- default 0xff000000 if OR3_AM_16_MBYTES
- default 0xfe000000 if OR3_AM_32_MBYTES
- default 0xfc000000 if OR3_AM_64_MBYTES
- default 0xf8000000 if OR3_AM_128_MBYTES
- default 0xf0000000 if OR3_AM_256_MBYTES
- default 0xe0000000 if OR3_AM_512_MBYTES
- default 0xc0000000 if OR3_AM_1_GBYTES
- default 0x80000000 if OR3_AM_2_GBYTES
- default 0x00000000 if OR3_AM_4_GBYTES
-
-config OR3_XAM
- hex
- default 0x0 if !OR3_XAM_SET
- default 0x6000 if OR3_XAM_SET
-
-config OR3_BCTLD
- hex
- default 0x0 if OR3_BCTLD_ASSERTED
- default 0x1000 if OR3_BCTLD_NOT_ASSERTED
-
-config OR3_BI
- hex
- default 0x0 if !BR3_MACHINE_UPM
- default 0x0 if OR3_BI_BURSTSUPPORT
- default 0x100 if OR3_BI_BURSTINHIBIT
-
-config OR3_COLS
- hex
- default 0x0 if !BR3_MACHINE_SDRAM
- default 0x0 if OR3_COLS_7
- default 0x400 if OR3_COLS_8
- default 0x800 if OR3_COLS_9
- default 0xc00 if OR3_COLS_10
- default 0x1000 if OR3_COLS_11
- default 0x1400 if OR3_COLS_12
- default 0x1800 if OR3_COLS_13
- default 0x1c00 if OR3_COLS_14
-
-config OR3_ROWS
- hex
- default 0x0 if !BR3_MACHINE_SDRAM
- default 0x0 if OR3_ROWS_9
- default 0x40 if OR3_ROWS_10
- default 0x80 if OR3_ROWS_11
- default 0xc0 if OR3_ROWS_12
- default 0x100 if OR3_ROWS_13
- default 0x140 if OR3_ROWS_14
- default 0x180 if OR3_ROWS_15
-
-config OR3_PMSEL
- hex
- default 0x0 if !BR3_MACHINE_SDRAM
- default 0x0 if OR3_PMSEL_BTB
- default 0x20 if OR3_PMSEL_KEPT_OPEN
-
-config OR3_SCY
- hex
- default 0x0 if !BR3_MACHINE_GPCM && !BR3_MACHINE_FCM
- default 0x0 if OR3_SCY_0
- default 0x10 if OR3_SCY_1
- default 0x20 if OR3_SCY_2
- default 0x30 if OR3_SCY_3
- default 0x40 if OR3_SCY_4
- default 0x50 if OR3_SCY_5
- default 0x60 if OR3_SCY_6
- default 0x70 if OR3_SCY_7
- default 0x80 if OR3_SCY_8
- default 0x90 if OR3_SCY_9
- default 0xa0 if OR3_SCY_10
- default 0xb0 if OR3_SCY_11
- default 0xc0 if OR3_SCY_12
- default 0xd0 if OR3_SCY_13
- default 0xe0 if OR3_SCY_14
- default 0xf0 if OR3_SCY_15
-
-config OR3_PGS
- hex
- default 0x0 if !BR3_MACHINE_FCM
- default 0x0 if OR3_PGS_SMALL
- default 0x400 if OR3_PGS_LARGE
-
-config OR3_CSCT
- hex
- default 0x0 if !BR3_MACHINE_FCM
- default 0x0 if OR3_CSCT_1_CYCLE
- default 0x0 if OR3_CSCT_2_CYCLE
- default 0x200 if OR3_CSCT_4_CYCLE
- default 0x200 if OR3_CSCT_8_CYCLE
-
-config OR3_CST
- hex
- default 0x0 if !BR3_MACHINE_FCM
- default 0x0 if OR3_CST_COINCIDENT
- default 0x100 if OR3_CST_QUARTER_CLOCK
- default 0x0 if OR3_CST_HALF_CLOCK
- default 0x100 if OR3_CST_ONE_CLOCK
-
-config OR3_CHT
- hex
- default 0x0 if !BR3_MACHINE_FCM
- default 0x0 if OR3_CHT_HALF_CLOCK
- default 0x80 if OR3_CHT_ONE_CLOCK
- default 0x0 if OR3_CHT_ONE_HALF_CLOCK
- default 0x80 if OR3_CHT_TWO_CLOCK
-
-config OR3_RST
- hex
- default 0x0 if !BR3_MACHINE_FCM
- default 0x0 if OR3_RST_THREE_QUARTER_CLOCK
- default 0x8 if OR3_RST_ONE_CLOCK
- default 0x0 if OR3_RST_ONE_HALF_CLOCK
-
-config OR3_CSNT
- hex
- default 0x0 if !BR3_MACHINE_GPCM
- default 0x0 if OR3_CSNT_NORMAL
- default 0x800 if OR3_CSNT_EARLIER
-
-config OR3_ACS
- hex
- default 0x0 if !BR3_MACHINE_GPCM
- default 0x0 if OR3_ACS_SAME_TIME
- default 0x400 if OR3_ACS_QUARTER_CYCLE_EARLIER
- default 0x600 if OR3_ACS_HALF_CYCLE_EARLIER
-
-config OR3_XACS
- hex
- default 0x0 if !BR3_MACHINE_GPCM
- default 0x0 if OR3_XACS_NORMAL
- default 0x100 if OR3_XACS_EXTENDED
-
-config OR3_SETA
- hex
- default 0x0 if !BR3_MACHINE_GPCM
- default 0x0 if OR3_SETA_INTERNAL
- default 0x8 if OR3_SETA_EXTERNAL
-
-config OR3_TRLX
- hex
- default 0x0 if OR3_TRLX_NORMAL
- default 0x4 if OR3_TRLX_RELAXED
-
-config OR3_EHTR
- hex
- default 0x0 if OR3_EHTR_NORMAL
- default 0x2 if OR3_EHTR_1_CYCLE
- default 0x0 if OR3_EHTR_4_CYCLE
- default 0x2 if OR3_EHTR_8_CYCLE
-
-config OR3_EAD
- hex
- default 0x0 if ARCH_MPC8308
- default 0x0 if OR3_EAD_NONE
- default 0x1 if OR3_EAD_EXTRA
diff --git a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4 b/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4
deleted file mode 100644
index 5d69385a23..0000000000
--- a/arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4
+++ /dev/null
@@ -1,733 +0,0 @@
-menuconfig ELBC_BR4_OR4
- bool "ELBC BR4/OR4"
-
-if ELBC_BR4_OR4
-
-config BR4_OR4_NAME
- string "Identifier"
-
-config BR4_OR4_BASE
- hex "Port base"
-
-choice
- prompt "Port size"
-
-config BR4_PORTSIZE_8BIT
- bool "8-bit"
-
-config BR4_PORTSIZE_16BIT
- depends on !BR4_MACHINE_FCM
- bool "16-bit"
-
-
-config BR4_PORTSIZE_32BIT
- depends on !BR4_MACHINE_FCM
- depends on ARCH_MPC8360 || ARCH_MPC8379
- bool "32-bit"
-
-endchoice
-
-if BR4_MACHINE_FCM
-
-choice
- prompt "Data Error Checking"
-
-config BR4_ERRORCHECKING_DISABLED
- bool "Disabled"
-
-config BR4_ERRORCHECKING_ECC_CHECKING
- bool "ECC checking / No ECC generation"
-
-config BR4_ERRORCHECKING_BOTH
- bool "ECC checking and generation"
-
-endchoice
-
-endif
-
-config BR4_WRITE_PROTECT
- bool "Write-protect"
-
-config BR4_MACHINE_UPM
- bool
-
-choice
- prompt "Machine select"
-
-config BR4_MACHINE_GPCM
- bool "GPCM"
-
-config BR4_MACHINE_FCM
- depends on !ARCH_MPC832X && !ARCH_MPC8360
- bool "FCM"
-
-config BR4_MACHINE_SDRAM
- depends on ARCH_MPC8360
- bool "SDRAM"
-
-config BR4_MACHINE_UPMA
- select BR4_MACHINE_UPM
- bool "UPM (A)"
-
-config BR4_MACHINE_UPMB
- select BR4_MACHINE_UPM
- bool "UPM (B)"
-
-config BR4_MACHINE_UPMC
- select BR4_MACHINE_UPM
- bool "UPM (C)"
-
-endchoice
-
-if ARCH_MPC8313 || ARCH_MPC8323 || ARCH_MPC8360
-
-choice
- prompt "Atomic operations"
-
-config BR4_ATOMIC_NONE
- bool "No atomic operations"
-
-config BR4_ATOMIC_RAWA
- bool "Read-after-write-atomic"
-
-config BR4_ATOMIC_WARA
- bool "Write-after-read-atomic"
-
-endchoice
-
-endif
-
-if BR4_MACHINE_GPCM || BR4_MACHINE_FCM || BR4_MACHINE_UPM || BR4_MACHINE_SDRAM
-
-choice
- prompt "Address mask"
-
-config OR4_AM_32_KBYTES
- depends on !BR4_MACHINE_SDRAM
- bool "32 kb"
-
-config OR4_AM_64_KBYTES
- bool "64 kb"
-
-config OR4_AM_128_KBYTES
- bool "128 kb"
-
-config OR4_AM_256_KBYTES
- bool "256 kb"
-
-config OR4_AM_512_KBYTES
- bool "512 kb"
-
-config OR4_AM_1_MBYTES
- bool "1 mb"
-
-config OR4_AM_2_MBYTES
- bool "2 mb"
-
-config OR4_AM_4_MBYTES
- bool "4 mb"
-
-config OR4_AM_8_MBYTES
- bool "8 mb"
-
-config OR4_AM_16_MBYTES
- bool "16 mb"
-
-config OR4_AM_32_MBYTES
- bool "32 mb"
-
-config OR4_AM_64_MBYTES
- bool "64 mb"
-
-# XXX: Some boards define 128MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR4_AM_128_MBYTES
- bool "128 mb"
-
-# XXX: Some boards define 256MB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR4_AM_256_MBYTES
- bool "256 mb"
-
-config OR4_AM_512_MBYTES
- depends on BR4_MACHINE_FCM
- bool "512 mb"
-
-# XXX: Some boards define 1GB AM with GPCM, even though it should not be
-# possible according to the manuals
-config OR4_AM_1_GBYTES
- bool "1 gb"
-
-config OR4_AM_2_GBYTES
- depends on BR4_MACHINE_FCM
- bool "2 gb"
-
-config OR4_AM_4_GBYTES
- depends on BR4_MACHINE_FCM
- bool "4 gb"
-
-endchoice
-
-config OR4_XAM_SET
- bool "Set unused bytes after address mask"
-choice
- prompt "Buffer control disable"
-
-config OR4_BCTLD_ASSERTED
- bool "Asserted"
-
-config OR4_BCTLD_NOT_ASSERTED
- bool "Not asserted"
-
-endchoice
-
-endif
-
-if BR4_MACHINE_GPCM || BR4_MACHINE_FCM
-
-choice
- prompt "Cycle length in bus clocks"
-
-config OR4_SCY_0
- bool "No wait states"
-
-config OR4_SCY_1
- bool "1 wait state"
-
-config OR4_SCY_2
- bool "2 wait states"
-
-config OR4_SCY_3
- bool "3 wait states"
-
-config OR4_SCY_4
- bool "4 wait states"
-
-config OR4_SCY_5
- bool "5 wait states"
-
-config OR4_SCY_6
- bool "6 wait states"
-
-config OR4_SCY_7
- bool "7 wait states"
-
-config OR4_SCY_8
- depends on BR4_MACHINE_GPCM
- bool "8 wait states"
-
-config OR4_SCY_9
- depends on BR4_MACHINE_GPCM
- bool "9 wait states"
-
-config OR4_SCY_10
- depends on BR4_MACHINE_GPCM
- bool "10 wait states"
-
-config OR4_SCY_11
- depends on BR4_MACHINE_GPCM
- bool "11 wait states"
-
-config OR4_SCY_12
- depends on BR4_MACHINE_GPCM
- bool "12 wait states"
-
-config OR4_SCY_13
- depends on BR4_MACHINE_GPCM
- bool "13 wait states"
-
-config OR4_SCY_14
- depends on BR4_MACHINE_GPCM
- bool "14 wait states"
-
-config OR4_SCY_15
- depends on BR4_MACHINE_GPCM
- bool "15 wait states"
-
-endchoice
-
-endif # BR4_MACHINE_GPCM || BR4_MACHINE_FCM
-
-if BR4_MACHINE_GPCM
-
-choice
- prompt "Chip select negotiation time"
-
-config OR4_CSNT_NORMAL
- bool "Normal"
-
-config OR4_CSNT_EARLIER
- bool "Earlier"
-
-endchoice
-
-choice
- prompt "Address to chip-select setup"
-
-config OR4_ACS_SAME_TIME
- bool "At the same time"
-
-config OR4_ACS_HALF_CYCLE_EARLIER
- bool "Half of a bus clock cycle earlier"
-
-config OR4_ACS_QUARTER_CYCLE_EARLIER
- bool "Half/Quarter of a bus clock cycle earlier"
-
-endchoice
-
-choice
- prompt "Extra address to check-select setup"
-
-config OR4_XACS_NORMAL
- bool "Normal"
-
-config OR4_XACS_EXTENDED
- bool "Extended"
-
-endchoice
-
-choice
- prompt "External address termination"
-
-config OR4_SETA_INTERNAL
- bool "Access is terminated internally"
-
-config OR4_SETA_EXTERNAL
- bool "Access is terminated externally"
-
-endchoice
-
-endif # BR4_MACHINE_GPCM
-
-if BR4_MACHINE_FCM
-
-choice
- prompt "NAND Flash EEPROM page size"
-
-config OR4_PGS_SMALL
- bool "Small page device"
-
-config OR4_PGS_LARGE
- bool "Large page device"
-
-endchoice
-
-choice
- prompt "Chip select to command time"
-
-config OR4_CSCT_1_CYCLE
- depends on OR4_TRLX_NORMAL
- bool "1 cycle"
-
-config OR4_CSCT_2_CYCLE
- depends on OR4_TRLX_RELAXED
- bool "2 cycles"
-
-config OR4_CSCT_4_CYCLE
- depends on OR4_TRLX_NORMAL
- bool "4 cycles"
-
-config OR4_CSCT_8_CYCLE
- depends on OR4_TRLX_RELAXED
- bool "8 cycles"
-
-endchoice
-
-choice
- prompt "Command setup time"
-
-config OR4_CST_COINCIDENT
- depends on OR4_TRLX_NORMAL
- bool "Coincident with any command"
-
-config OR4_CST_QUARTER_CLOCK
- depends on OR4_TRLX_NORMAL
- bool "0.25 clocks after"
-
-config OR4_CST_HALF_CLOCK
- depends on OR4_TRLX_RELAXED
- bool "0.5 clocks after"
-
-config OR4_CST_ONE_CLOCK
- depends on OR4_TRLX_RELAXED
- bool "1 clock after"
-
-endchoice
-
-choice
- prompt "Command hold time"
-
-config OR4_CHT_HALF_CLOCK
- depends on OR4_TRLX_NORMAL
- bool "0.5 clocks before"
-
-config OR4_CHT_ONE_CLOCK
- depends on OR4_TRLX_NORMAL
- bool "1 clock before"
-
-config OR4_CHT_ONE_HALF_CLOCK
- depends on OR4_TRLX_RELAXED
- bool "1.5 clocks before"
-
-config OR4_CHT_TWO_CLOCK
- depends on OR4_TRLX_RELAXED
- bool "2 clocks before"
-
-endchoice
-
-choice
- prompt "Reset setup time"
-
-config OR4_RST_THREE_QUARTER_CLOCK
- depends on OR4_TRLX_NORMAL
- bool "0.75 clocks prior"
-
-config OR4_RST_ONE_HALF_CLOCK
- depends on OR4_TRLX_RELAXED
- bool "0.5 clocks prior"
-
-config OR4_RST_ONE_CLOCK
- bool "1 clock prior"
-
-endchoice
-
-endif # BR4_MACHINE_FCM
-
-if BR4_MACHINE_UPM
-
-choice
- prompt "Burst inhibit"
-
-config OR4_BI_BURSTSUPPORT
- bool "Support burst access"
-
-config OR4_BI_BURSTINHIBIT
- bool "Inhibit burst access"
-
-endchoice
-
-endif # BR4_MACHINE_UPM
-
-if BR4_MACHINE_SDRAM
-
-choice
- prompt "Number of column address lines"
-
-config OR4_COLS_7
- bool "7"
-
-config OR4_COLS_8
- bool "8"
-
-config OR4_COLS_9
- bool "9"
-
-config OR4_COLS_10
- bool "10"
-
-config OR4_COLS_11
- bool "11"
-
-config OR4_COLS_12
- bool "12"
-
-config OR4_COLS_13
- bool "13"
-
-config OR4_COLS_14
- bool "14"
-
-endchoice
-
-choice
- prompt "Number of rows address lines"
-
-config OR4_ROWS_9
- bool "9"
-
-config OR4_ROWS_10
- bool "10"
-
-config OR4_ROWS_11
- bool "11"
-
-config OR4_ROWS_12
- bool "12"
-
-config OR4_ROWS_13
- bool "13"
-
-config OR4_ROWS_14
- bool "14"
-
-config OR4_ROWS_15
- bool "15"
-
-endchoice
-
-choice
- prompt "Page mode select"
-
-config OR4_PMSEL_BTB
- bool "Back-to-back"
-
-config OR4_PMSEL_KEPT_OPEN
- bool "Page kept open until page miss or refresh"
-
-endchoice
-
-endif # BR4_MACHINE_SDRAM
-
-choice
- prompt "Relaxed timing"
-
-config OR4_TRLX_NORMAL
- bool "Normal"
-
-config OR4_TRLX_RELAXED
- bool "Relaxed"
-
-endchoice
-
-choice
- prompt "Extended hold time"
-
-config OR4_EHTR_NORMAL
- depends on OR4_TRLX_NORMAL
- bool "Normal"
-
-config OR4_EHTR_1_CYCLE
- depends on OR4_TRLX_NORMAL
- bool "1 idle clock cycle inserted"
-
-config OR4_EHTR_4_CYCLE
- depends on OR4_TRLX_RELAXED
- bool "4 idle clock cycles inserted"
-
-config OR4_EHTR_8_CYCLE
- depends on OR4_TRLX_RELAXED
- bool "8 idle clock cycles inserted"
-
-endchoice
-
-if !ARCH_MPC8308
-
-choice
- prompt "External address latch delay"
-
-config OR4_EAD_NONE
- bool "None"
-
-config OR4_EAD_EXTRA
- bool "Extra"
-
-endchoice
-
-endif # !ARCH_MPC8308
-
-endif # ELBC_BR4_OR4
-
-config BR4_PORTSIZE
- hex
- default 0x800 if BR4_PORTSIZE_8BIT
- default 0x1000 if BR4_PORTSIZE_16BIT
- default 0x1800 if BR4_PORTSIZE_32BIT
-
-config BR4_ERRORCHECKING
- hex
- default 0x0 if !BR4_MACHINE_FCM
- default 0x0 if BR4_ERRORCHECKING_DISABLED
- default 0x200 if BR4_ERRORCHECKING_ECC_CHECKING
- default 0x400 if BR4_ERRORCHECKING_BOTH
-
-config BR4_WRITE_PROTECT_BIT
- hex
- default 0x0 if !BR4_WRITE_PROTECT
- default 0x100 if BR4_WRITE_PROTECT
-
-config BR4_MACHINE
- hex
- default 0x0 if BR4_MACHINE_GPCM
- default 0x20 if BR4_MACHINE_FCM
- default 0x60 if BR4_MACHINE_SDRAM
- default 0x80 if BR4_MACHINE_UPMA
- default 0xa0 if BR4_MACHINE_UPMB
- default 0xc0 if BR4_MACHINE_UPMC
-
-config BR4_ATOMIC
- hex
- default 0x0 if !ARCH_MPC8313 && !ARCH_MPC8323 && !ARCH_MPC8360
- default 0x0 if BR4_ATOMIC_NONE
- default 0x4 if BR4_ATOMIC_RAWA
- default 0x8 if BR4_ATOMIC_WARA
-
-config BR4_VALID_BIT
- hex
- default 0x0 if !ELBC_BR4_OR4
- default 0x1 if ELBC_BR4_OR4
-
-config OR4_AM
- hex
- default 0xffff8000 if OR4_AM_32_KBYTES && !BR4_MACHINE_SDRAM
- default 0xffff0000 if OR4_AM_64_KBYTES
- default 0xfffe0000 if OR4_AM_128_KBYTES
- default 0xfffc0000 if OR4_AM_256_KBYTES
- default 0xfff80000 if OR4_AM_512_KBYTES
- default 0xfff00000 if OR4_AM_1_MBYTES
- default 0xffe00000 if OR4_AM_2_MBYTES
- default 0xffc00000 if OR4_AM_4_MBYTES
- default 0xff800000 if OR4_AM_8_MBYTES
- default 0xff000000 if OR4_AM_16_MBYTES
- default 0xfe000000 if OR4_AM_32_MBYTES
- default 0xfc000000 if OR4_AM_64_MBYTES
- default 0xf8000000 if OR4_AM_128_MBYTES
- default 0xf0000000 if OR4_AM_256_MBYTES
- default 0xe0000000 if OR4_AM_512_MBYTES
- default 0xc0000000 if OR4_AM_1_GBYTES
- default 0x80000000 if OR4_AM_2_GBYTES
- default 0x00000000 if OR4_AM_4_GBYTES
-
-config OR4_XAM
- hex
- default 0x0 if !OR4_XAM_SET
- default 0x6000 if OR4_XAM_SET
-
-config OR4_BCTLD
- hex
- default 0x0 if OR4_BCTLD_ASSERTED
- default 0x1000 if OR4_BCTLD_NOT_ASSERTED
-
-config OR4_BI
- hex
- default 0x0 if !BR4_MACHINE_UPM
- default 0x0 if OR4_BI_BURSTSUPPORT
- default 0x100 if OR4_BI_BURSTINHIBIT
-
-config OR4_COLS
- hex
- default 0x0 if !BR4_MACHINE_SDRAM
- default 0x0 if OR4_COLS_7
- default 0x400 if OR4_COLS_8
- default 0x800 if OR4_COLS_9
- default 0xc00 if OR4_COLS_10
- default 0x1000 if OR4_COLS_11
- default 0x1400 if OR4_COLS_12
- default 0x1800 if OR4_COLS_13
- default 0x1c00 if OR4_COLS_14
-
-config OR4_ROWS
- hex
- default 0x0 if !BR4_MACHINE_SDRAM
- default 0x0 if OR4_ROWS_9
- default 0x40 if OR4_ROWS_10
- default 0x80 if OR4_ROWS_11
- default 0xc0 if OR4_ROWS_12
- default 0x100 if OR4_ROWS_13
- default 0x140 if OR4_ROWS_14
- default 0x180 if OR4_ROWS_15
-
-config OR4_PMSEL
- hex
- default 0x0 if !BR4_MACHINE_SDRAM
- default 0x0 if OR4_PMSEL_BTB
- default 0x20 if OR4_PMSEL_KEPT_OPEN
-
-config OR4_SCY
- hex
- default 0x0 if !BR4_MACHINE_GPCM && !BR4_MACHINE_FCM
- default 0x0 if OR4_SCY_0
- default 0x10 if OR4_SCY_1
- default 0x20 if OR4_SCY_2
- default 0x30 if OR4_SCY_3
- default 0x40 if OR4_SCY_4
- default 0x50 if OR4_SCY_5
- default 0x60 if OR4_SCY_6
- default 0x70 if OR4_SCY_7
- default 0x80 if OR4_SCY_8
- default 0x90 if OR4_SCY_9
- default 0xa0 if OR4_SCY_10
- default 0xb0 if OR4_SCY_11
- default 0xc0 if OR4_SCY_12
- default 0xd0 if OR4_SCY_13
- default 0xe0 if OR4_SCY_14
- default 0xf0 if OR4_SCY_15
-
-config OR4_PGS
- hex
- default 0x0 if !BR4_MACHINE_FCM
- default 0x0 if OR4_PGS_SMALL
- default 0x400 if OR4_PGS_LARGE
-
-config OR4_CSCT
- hex
- default 0x0 if !BR4_MACHINE_FCM
- default 0x0 if OR4_CSCT_1_CYCLE
- default 0x0 if OR4_CSCT_2_CYCLE
- default 0x200 if OR4_CSCT_4_CYCLE
- default 0x200 if OR4_CSCT_8_CYCLE
-
-config OR4_CST
- hex
- default 0x0 if !BR4_MACHINE_FCM
- default 0x0 if OR4_CST_COINCIDENT
- default 0x100 if OR4_CST_QUARTER_CLOCK
- default 0x0 if OR4_CST_HALF_CLOCK
- default 0x100 if OR4_CST_ONE_CLOCK
-
-config OR4_CHT
- hex
- default 0x0 if !BR4_MACHINE_FCM
- default 0x0 if OR4_CHT_HALF_CLOCK
- default 0x80 if OR4_CHT_ONE_CLOCK
- default 0x0 if OR4_CHT_ONE_HALF_CLOCK
- default 0x80 if OR4_CHT_TWO_CLOCK
-
-config OR4_RST
- hex
- default 0x0 if !BR4_MACHINE_FCM
- default 0x0 if OR4_RST_THREE_QUARTER_CLOCK
- default 0x8 if OR4_RST_ONE_CLOCK
- default 0x0 if OR4_RST_ONE_HALF_CLOCK
-
-config OR4_CSNT
- hex
- default 0x0 if !BR4_MACHINE_GPCM
- default 0x0 if OR4_CSNT_NORMAL
- default 0x800 if OR4_CSNT_EARLIER
-
-config OR4_ACS
- hex
- default 0x0 if !BR4_MACHINE_GPCM
- default 0x0 if OR4_ACS_SAME_TIME
- default 0x400 if OR4_ACS_QUARTER_CYCLE_EARLIER
- default 0x600 if OR4_ACS_HALF_CYCLE_EARLIER
-
-config OR4_XACS
- hex
- default 0x0 if !BR4_MACHINE_GPCM
- default 0x0 if OR4_XACS_NORMAL
- default 0x100 if OR4_XACS_EXTENDED
-
-config OR4_SETA
- hex
- default 0x0 if !BR4_MACHINE_GPCM
- default 0x0 if OR4_SETA_INTERNAL
- default 0x8 if OR4_SETA_EXTERNAL
-
-config OR4_TRLX
- hex
- default 0x0 if OR4_TRLX_NORMAL
- default 0x4 if OR4_TRLX_RELAXED
-
-config OR4_EHTR
- hex
- default 0x0 if OR4_EHTR_NORMAL
- default 0x2 if OR4_EHTR_1_CYCLE
- default 0x0 if OR4_EHTR_4_CYCLE
- default 0x2 if OR4_EHTR_8_CYCLE
-
-config OR4_EAD
- hex
- default 0x0 if ARCH_MPC8308
- default 0x0 if OR4_EAD_NONE
- default 0x1 if OR4_EAD_EXTRA
diff --git a/configs/MPC837XERDB_defconfig b/configs/MPC837XERDB_defconfig
index 7287ca6b24..8f3f54cb4f 100644
--- a/configs/MPC837XERDB_defconfig
+++ b/configs/MPC837XERDB_defconfig
@@ -108,37 +108,6 @@ CONFIG_LBLAW2=y
CONFIG_LBLAW2_BASE=0xF0000000
CONFIG_LBLAW2_NAME="VSC7385"
CONFIG_LBLAW2_LENGTH_128_KBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xFE000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_8_MBYTES=y
-CONFIG_OR0_SCY_9=y
-CONFIG_OR0_XACS_EXTENDED=y
-CONFIG_OR0_EHTR_1_CYCLE=y
-CONFIG_OR0_EAD_EXTRA=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="NAND"
-CONFIG_BR1_OR1_BASE=0xE0600000
-CONFIG_BR1_ERRORCHECKING_BOTH=y
-CONFIG_BR1_MACHINE_FCM=y
-CONFIG_OR1_SCY_1=y
-CONFIG_OR1_CSCT_8_CYCLE=y
-CONFIG_OR1_CST_ONE_CLOCK=y
-CONFIG_OR1_CHT_TWO_CLOCK=y
-CONFIG_OR1_TRLX_RELAXED=y
-CONFIG_OR1_EHTR_8_CYCLE=y
-CONFIG_ELBC_BR2_OR2=y
-CONFIG_BR2_OR2_NAME="VSC7385"
-CONFIG_BR2_OR2_BASE=0xF0000000
-CONFIG_OR2_AM_128_KBYTES=y
-CONFIG_OR2_SCY_15=y
-CONFIG_OR2_CSNT_EARLIER=y
-CONFIG_OR2_XACS_EXTENDED=y
-CONFIG_OR2_SETA_EXTERNAL=y
-CONFIG_OR2_TRLX_RELAXED=y
-CONFIG_OR2_EHTR_8_CYCLE=y
-CONFIG_OR2_EAD_EXTRA=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_ICE=y
CONFIG_HID2_HBE=y
diff --git a/configs/gazerbeam_defconfig b/configs/gazerbeam_defconfig
index 63051af411..63488da30a 100644
--- a/configs/gazerbeam_defconfig
+++ b/configs/gazerbeam_defconfig
@@ -67,31 +67,6 @@ CONFIG_LBLAW2=y
CONFIG_LBLAW2_BASE=0xE0700000
CONFIG_LBLAW2_NAME="FPGA1"
CONFIG_LBLAW2_LENGTH_1_MBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xFE000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_8_MBYTES=y
-CONFIG_OR0_SCY_15=y
-CONFIG_OR0_CSNT_EARLIER=y
-CONFIG_OR0_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR0_XACS_EXTENDED=y
-CONFIG_OR0_TRLX_RELAXED=y
-CONFIG_OR0_EHTR_8_CYCLE=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="FPGA0"
-CONFIG_BR1_OR1_BASE=0xE0600000
-CONFIG_BR1_PORTSIZE_16BIT=y
-CONFIG_OR1_AM_1_MBYTES=y
-CONFIG_OR1_SCY_5=y
-CONFIG_OR1_CSNT_EARLIER=y
-CONFIG_ELBC_BR2_OR2=y
-CONFIG_BR2_OR2_NAME="FPGA1"
-CONFIG_BR2_OR2_BASE=0xE0700000
-CONFIG_BR2_PORTSIZE_16BIT=y
-CONFIG_OR2_AM_1_MBYTES=y
-CONFIG_OR2_SCY_5=y
-CONFIG_OR2_CSNT_EARLIER=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_DPM=y
CONFIG_HID0_FINAL_ICE=y
diff --git a/configs/kmcoge5ne_defconfig b/configs/kmcoge5ne_defconfig
index 4ea7da8d32..40e2b22894 100644
--- a/configs/kmcoge5ne_defconfig
+++ b/configs/kmcoge5ne_defconfig
@@ -111,43 +111,6 @@ CONFIG_LBLAW3=y
CONFIG_LBLAW3_BASE=0xA0000000
CONFIG_LBLAW3_NAME="PAXE"
CONFIG_LBLAW3_LENGTH_512_MBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xF0000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_256_MBYTES=y
-CONFIG_OR0_SCY_5=y
-CONFIG_OR0_CSNT_EARLIER=y
-CONFIG_OR0_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR0_TRLX_RELAXED=y
-CONFIG_OR0_EAD_EXTRA=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="KMBEC_FPGA"
-CONFIG_BR1_OR1_BASE=0xE8000000
-CONFIG_OR1_AM_64_MBYTES=y
-CONFIG_OR1_SCY_2=y
-CONFIG_OR1_CSNT_EARLIER=y
-CONFIG_OR1_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR1_TRLX_RELAXED=y
-CONFIG_OR1_EAD_EXTRA=y
-CONFIG_ELBC_BR3_OR3=y
-CONFIG_BR3_OR3_NAME="PAXE"
-CONFIG_BR3_OR3_BASE=0xA0000000
-CONFIG_OR3_AM_256_MBYTES=y
-CONFIG_OR3_SCY_2=y
-CONFIG_OR3_CSNT_EARLIER=y
-CONFIG_OR3_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR3_TRLX_RELAXED=y
-CONFIG_OR3_EAD_EXTRA=y
-CONFIG_ELBC_BR4_OR4=y
-CONFIG_BR4_OR4_NAME="BFTIC3"
-CONFIG_BR4_OR4_BASE=0xB0000000
-CONFIG_OR4_AM_256_MBYTES=y
-CONFIG_OR4_SCY_2=y
-CONFIG_OR4_CSNT_EARLIER=y
-CONFIG_OR4_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR4_TRLX_RELAXED=y
-CONFIG_OR4_EAD_EXTRA=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_ICE=y
CONFIG_HID2_HBE=y
diff --git a/configs/kmeter1_defconfig b/configs/kmeter1_defconfig
index 96298ed0c3..f49367595d 100644
--- a/configs/kmeter1_defconfig
+++ b/configs/kmeter1_defconfig
@@ -91,34 +91,6 @@ CONFIG_LBLAW3=y
CONFIG_LBLAW3_BASE=0xA0000000
CONFIG_LBLAW3_NAME="PAXE"
CONFIG_LBLAW3_LENGTH_512_MBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xF0000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_256_MBYTES=y
-CONFIG_OR0_SCY_5=y
-CONFIG_OR0_CSNT_EARLIER=y
-CONFIG_OR0_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR0_TRLX_RELAXED=y
-CONFIG_OR0_EAD_EXTRA=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="KMBEC_FPGA"
-CONFIG_BR1_OR1_BASE=0xE8000000
-CONFIG_OR1_AM_64_MBYTES=y
-CONFIG_OR1_SCY_2=y
-CONFIG_OR1_CSNT_EARLIER=y
-CONFIG_OR1_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR1_TRLX_RELAXED=y
-CONFIG_OR1_EAD_EXTRA=y
-CONFIG_ELBC_BR3_OR3=y
-CONFIG_BR3_OR3_NAME="PAXE"
-CONFIG_BR3_OR3_BASE=0xA0000000
-CONFIG_OR3_AM_256_MBYTES=y
-CONFIG_OR3_SCY_2=y
-CONFIG_OR3_CSNT_EARLIER=y
-CONFIG_OR3_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR3_TRLX_RELAXED=y
-CONFIG_OR3_EAD_EXTRA=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_ICE=y
CONFIG_HID2_HBE=y
diff --git a/configs/kmopti2_defconfig b/configs/kmopti2_defconfig
index db717e4a15..9a1b6b894b 100644
--- a/configs/kmopti2_defconfig
+++ b/configs/kmopti2_defconfig
@@ -99,40 +99,6 @@ CONFIG_LBLAW3=y
CONFIG_LBLAW3_BASE=0xB0000000
CONFIG_LBLAW3_NAME="APP2"
CONFIG_LBLAW3_LENGTH_256_MBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xF0000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_256_MBYTES=y
-CONFIG_OR0_SCY_5=y
-CONFIG_OR0_CSNT_EARLIER=y
-CONFIG_OR0_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR0_TRLX_RELAXED=y
-CONFIG_OR0_EAD_EXTRA=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="KMBEC_FPGA"
-CONFIG_BR1_OR1_BASE=0xE8000000
-CONFIG_OR1_AM_128_MBYTES=y
-CONFIG_OR1_SCY_2=y
-CONFIG_OR1_CSNT_EARLIER=y
-CONFIG_OR1_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR1_TRLX_RELAXED=y
-CONFIG_OR1_EAD_EXTRA=y
-CONFIG_ELBC_BR2_OR2=y
-CONFIG_BR2_OR2_NAME="APP1"
-CONFIG_BR2_OR2_BASE=0xA0000000
-CONFIG_OR2_AM_256_MBYTES=y
-CONFIG_OR2_SCY_2=y
-CONFIG_OR2_CSNT_EARLIER=y
-CONFIG_OR2_ACS_QUARTER_CYCLE_EARLIER=y
-CONFIG_OR2_TRLX_RELAXED=y
-CONFIG_OR2_EAD_EXTRA=y
-CONFIG_ELBC_BR3_OR3=y
-CONFIG_BR3_OR3_NAME="APP2"
-CONFIG_BR3_OR3_BASE=0xB0000000
-CONFIG_BR3_PORTSIZE_16BIT=y
-CONFIG_OR3_AM_256_MBYTES=y
-CONFIG_OR3_SCY_4=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_ICE=y
CONFIG_HID2_HBE=y
diff --git a/configs/kmsupx5_defconfig b/configs/kmsupx5_defconfig
index 69de685baf..cafe39a545 100644
--- a/configs/kmsupx5_defconfig
+++ b/configs/kmsupx5_defconfig
@@ -85,34 +85,6 @@ CONFIG_LBLAW2=y
CONFIG_LBLAW2_BASE=0xA0000000
CONFIG_LBLAW2_NAME="APP1"
CONFIG_LBLAW2_LENGTH_256_MBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xF0000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_256_MBYTES=y
-CONFIG_OR0_SCY_5=y
-CONFIG_OR0_CSNT_EARLIER=y
-CONFIG_OR0_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR0_TRLX_RELAXED=y
-CONFIG_OR0_EAD_EXTRA=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="KMBEC_FPGA"
-CONFIG_BR1_OR1_BASE=0xE8000000
-CONFIG_OR1_AM_128_MBYTES=y
-CONFIG_OR1_SCY_2=y
-CONFIG_OR1_CSNT_EARLIER=y
-CONFIG_OR1_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR1_TRLX_RELAXED=y
-CONFIG_OR1_EAD_EXTRA=y
-CONFIG_ELBC_BR2_OR2=y
-CONFIG_BR2_OR2_NAME="APP1"
-CONFIG_BR2_OR2_BASE=0xA0000000
-CONFIG_OR2_AM_256_MBYTES=y
-CONFIG_OR2_SCY_2=y
-CONFIG_OR2_CSNT_EARLIER=y
-CONFIG_OR2_ACS_QUARTER_CYCLE_EARLIER=y
-CONFIG_OR2_TRLX_RELAXED=y
-CONFIG_OR2_EAD_EXTRA=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_ICE=y
CONFIG_HID2_HBE=y
diff --git a/configs/kmtepr2_defconfig b/configs/kmtepr2_defconfig
index 92f2b0adec..0b88ebdfd3 100644
--- a/configs/kmtepr2_defconfig
+++ b/configs/kmtepr2_defconfig
@@ -99,40 +99,6 @@ CONFIG_LBLAW3=y
CONFIG_LBLAW3_BASE=0xB0000000
CONFIG_LBLAW3_NAME="APP2"
CONFIG_LBLAW3_LENGTH_256_MBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xF0000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_256_MBYTES=y
-CONFIG_OR0_SCY_5=y
-CONFIG_OR0_CSNT_EARLIER=y
-CONFIG_OR0_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR0_TRLX_RELAXED=y
-CONFIG_OR0_EAD_EXTRA=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="KMBEC_FPGA"
-CONFIG_BR1_OR1_BASE=0xE8000000
-CONFIG_OR1_AM_128_MBYTES=y
-CONFIG_OR1_SCY_2=y
-CONFIG_OR1_CSNT_EARLIER=y
-CONFIG_OR1_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR1_TRLX_RELAXED=y
-CONFIG_OR1_EAD_EXTRA=y
-CONFIG_ELBC_BR2_OR2=y
-CONFIG_BR2_OR2_NAME="APP1"
-CONFIG_BR2_OR2_BASE=0xA0000000
-CONFIG_OR2_AM_256_MBYTES=y
-CONFIG_OR2_SCY_2=y
-CONFIG_OR2_CSNT_EARLIER=y
-CONFIG_OR2_ACS_QUARTER_CYCLE_EARLIER=y
-CONFIG_OR2_TRLX_RELAXED=y
-CONFIG_OR2_EAD_EXTRA=y
-CONFIG_ELBC_BR3_OR3=y
-CONFIG_BR3_OR3_NAME="APP2"
-CONFIG_BR3_OR3_BASE=0xB0000000
-CONFIG_BR3_PORTSIZE_16BIT=y
-CONFIG_OR3_AM_256_MBYTES=y
-CONFIG_OR3_SCY_4=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_ICE=y
CONFIG_HID2_HBE=y
diff --git a/configs/tuge1_defconfig b/configs/tuge1_defconfig
index 0c3381461e..6df74b5077 100644
--- a/configs/tuge1_defconfig
+++ b/configs/tuge1_defconfig
@@ -85,34 +85,6 @@ CONFIG_LBLAW2=y
CONFIG_LBLAW2_BASE=0xA0000000
CONFIG_LBLAW2_NAME="APP1"
CONFIG_LBLAW2_LENGTH_256_MBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xF0000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_256_MBYTES=y
-CONFIG_OR0_SCY_5=y
-CONFIG_OR0_CSNT_EARLIER=y
-CONFIG_OR0_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR0_TRLX_RELAXED=y
-CONFIG_OR0_EAD_EXTRA=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="KMBEC_FPGA"
-CONFIG_BR1_OR1_BASE=0xE8000000
-CONFIG_OR1_AM_128_MBYTES=y
-CONFIG_OR1_SCY_2=y
-CONFIG_OR1_CSNT_EARLIER=y
-CONFIG_OR1_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR1_TRLX_RELAXED=y
-CONFIG_OR1_EAD_EXTRA=y
-CONFIG_ELBC_BR2_OR2=y
-CONFIG_BR2_OR2_NAME="APP1"
-CONFIG_BR2_OR2_BASE=0xA0000000
-CONFIG_OR2_AM_256_MBYTES=y
-CONFIG_OR2_SCY_2=y
-CONFIG_OR2_CSNT_EARLIER=y
-CONFIG_OR2_ACS_QUARTER_CYCLE_EARLIER=y
-CONFIG_OR2_TRLX_RELAXED=y
-CONFIG_OR2_EAD_EXTRA=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_ICE=y
CONFIG_HID2_HBE=y
diff --git a/configs/tuxx1_defconfig b/configs/tuxx1_defconfig
index 4f192ad262..837098f0e5 100644
--- a/configs/tuxx1_defconfig
+++ b/configs/tuxx1_defconfig
@@ -99,42 +99,6 @@ CONFIG_LBLAW3=y
CONFIG_LBLAW3_BASE=0xB0000000
CONFIG_LBLAW3_NAME="APP2"
CONFIG_LBLAW3_LENGTH_256_MBYTES=y
-CONFIG_ELBC_BR0_OR0=y
-CONFIG_BR0_OR0_NAME="FLASH"
-CONFIG_BR0_OR0_BASE=0xF0000000
-CONFIG_BR0_PORTSIZE_16BIT=y
-CONFIG_OR0_AM_256_MBYTES=y
-CONFIG_OR0_SCY_5=y
-CONFIG_OR0_CSNT_EARLIER=y
-CONFIG_OR0_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR0_TRLX_RELAXED=y
-CONFIG_OR0_EAD_EXTRA=y
-CONFIG_ELBC_BR1_OR1=y
-CONFIG_BR1_OR1_NAME="KMBEC_FPGA"
-CONFIG_BR1_OR1_BASE=0xE8000000
-CONFIG_OR1_AM_128_MBYTES=y
-CONFIG_OR1_SCY_2=y
-CONFIG_OR1_CSNT_EARLIER=y
-CONFIG_OR1_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR1_TRLX_RELAXED=y
-CONFIG_OR1_EAD_EXTRA=y
-CONFIG_ELBC_BR2_OR2=y
-CONFIG_BR2_OR2_NAME="APP1"
-CONFIG_BR2_OR2_BASE=0xA0000000
-CONFIG_OR2_AM_256_MBYTES=y
-CONFIG_OR2_SCY_2=y
-CONFIG_OR2_CSNT_EARLIER=y
-CONFIG_OR2_ACS_QUARTER_CYCLE_EARLIER=y
-CONFIG_OR2_TRLX_RELAXED=y
-CONFIG_OR2_EAD_EXTRA=y
-CONFIG_ELBC_BR3_OR3=y
-CONFIG_BR3_OR3_NAME="APP2"
-CONFIG_BR3_OR3_BASE=0xB0000000
-CONFIG_OR3_AM_256_MBYTES=y
-CONFIG_OR3_SCY_2=y
-CONFIG_OR3_CSNT_EARLIER=y
-CONFIG_OR3_ACS_HALF_CYCLE_EARLIER=y
-CONFIG_OR3_TRLX_RELAXED=y
CONFIG_HID0_FINAL_EMCP=y
CONFIG_HID0_FINAL_ICE=y
CONFIG_HID2_HBE=y
--
2.39.1
2
1
As the lastest spear directories are removed, delete the associated entry
in Makefile.
Fixes: 570c3dcfc153 ("arm: Remove spear600 boards and the rest of SPEAr support")
Signed-off-by: Patrick Delaunay <patrick.delaunay(a)foss.st.com>
---
arch/arm/cpu/arm926ejs/Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/cpu/arm926ejs/Makefile b/arch/arm/cpu/arm926ejs/Makefile
index 7e7ad4f35d7e..8cfe3f0fbbc2 100644
--- a/arch/arm/cpu/arm926ejs/Makefile
+++ b/arch/arm/cpu/arm926ejs/Makefile
@@ -13,7 +13,6 @@ endif
endif
obj-$(if $(filter mxs,$(SOC)),y) += mxs/
-obj-$(if $(filter spear,$(SOC)),y) += spear/
obj-$(CONFIG_ARCH_SUNXI) += sunxi/
# some files can only build in ARM or THUMB2, not THUMB1
--
2.25.1
2
3
There are several PLLs in AST2600 that provide clock sources for various
hardware blocks. According to the PLL vendor, the setting sequence was
incorrect, since the PLL power should kept on during initialization.
This patch series fixes the PLL setting sequence, including the MPLL in
the DRAM driver and the others in the clock driver.
Dylan Hung (2):
ram: ast2600: Keep MPLL power on
clk: ast2600: Keep PLL power on
drivers/clk/aspeed/clk_ast2600.c | 3 +--
drivers/ram/aspeed/sdram_ast2600.c | 6 +++---
2 files changed, 4 insertions(+), 5 deletions(-)
--
2.25.1
3
6
Enable defconfigs relevant for storing env on SPI flash.
Signed-off-by: Ryan Chen <ryan_chen(a)aspeedtech.com>
---
configs/evb-ast2600_defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configs/evb-ast2600_defconfig b/configs/evb-ast2600_defconfig
index 3440062156..7c09e846ac 100644
--- a/configs/evb-ast2600_defconfig
+++ b/configs/evb-ast2600_defconfig
@@ -13,6 +13,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_NR_DRAM_BANKS=1
CONFIG_SPL_LDSCRIPT="arch/arm/mach-aspeed/ast2600/u-boot-spl.lds"
CONFIG_ENV_SIZE=0x10000
+CONFIG_ENV_OFFSET=0xe0000
+CONFIG_ENV_SECT_SIZE=0x10000
CONFIG_DM_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="ast2600-evb"
CONFIG_SPL_SERIAL=y
@@ -74,6 +76,8 @@ CONFIG_EFI_PARTITION=y
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_SPL_OF_CONTROL=y
CONFIG_ENV_OVERWRITE=y
+CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_ENV_SECT_SIZE_AUTO=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_SPL_DM=y
--
2.34.1
3
2
Exposing set/way cache maintenance to a virtual machine is unsafe, not
least because the instructions are not permission-checked but also
because they are not broadcast between CPUs. Consequently, KVM traps and
emulates such maintenance in the host kernel using by-VA operations and
looping over the stage-2 page-tables. However, when running under
protected KVM, these instructions are not able to be emulated and will
instead result in an exception being delivered to the guest.
Introduce CONFIG_CMO_BY_VA_ONLY so that virtual platforms can select
this option and perform by-VA cache maintenance instead of using the
set/way instructions.
Marc Zyngier (1):
arm: cpu: Add optional CMOs by VA
Pierre-Clément Tosi (1):
arm64: Initialize TLB memory if CMO_BY_VA_ONLY
v2: Fix the Signed-off-by list.
arch/arm/cpu/armv8/Kconfig | 4 ++
arch/arm/cpu/armv8/cache.S | 50 +++++++++++++-----
arch/arm/cpu/armv8/cache_v8.c | 97 ++++++++++++++++++++++++++++++++++-
arch/arm/cpu/armv8/cpu.c | 30 +++++++----
arch/arm/lib/cache.c | 9 ++++
5 files changed, 164 insertions(+), 26 deletions(-)
--
2.39.1
2
4