Skip to content

Commit

Permalink
mpc83xx: Migrate LBLAW_* to Kconfig
Browse files Browse the repository at this point in the history
The LBLAW_* values determine the window configuration of the memory
controller. Hence, they must be known at compile time, and cannot be
implemented in the DT mechanism.

Configuration of this crucial variable should still be somewhat
comfortable. Hence, make its fields configurable in Kconfig, and
assemble the final value from these.

Signed-off-by: Mario Six <[email protected]>
  • Loading branch information
si-gdsys committed May 21, 2019
1 parent 30915ab commit 9c5df7a
Show file tree
Hide file tree
Showing 85 changed files with 1,125 additions and 316 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc83xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ config ARCH_MPC837X

source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"

menu "Legacy options"

Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/cpu/mpc83xx/cpu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include <usb/ehci-ci.h>
#endif

#include "lblaw/lblaw.h"

DECLARE_GLOBAL_DATA_PTR;

#ifdef CONFIG_QE
Expand Down
Loading

0 comments on commit 9c5df7a

Please sign in to comment.