diff options
author | Angelo Durgehello <angelo.dureghello@timesys.com> | 2020-01-26 19:31:22 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-26 13:36:14 -0500 |
commit | c05b38df477a50c3918b50c5f986592411785859 (patch) | |
tree | 31bd0ca8c12fe0e7a5be0d296ba2ffc154cee69a /common | |
parent | 080dbc64fcbc9e17ed424778e51b4f3db152ec1e (diff) |
common: fix regression on block cache init
m68k needs block cache list initialized after relocation.
Other architectures must not be involved.
Fixing regression related to:
commit 1526bcce0f7285087621e16e6720636d01839da8
("common: add blkcache init")
Signed-off-by: Angelo Durgehello <angelo.dureghello@timesys.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_r.c b/common/board_r.c index 4f56c19fcc..0bbeaa7594 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -865,7 +865,7 @@ static init_fnc_t init_sequence_r[] = { #if defined(CONFIG_PRAM) initr_mem, #endif -#ifdef CONFIG_BLOCK_CACHE +#if defined(CONFIG_M68K) && defined(CONFIG_BLOCK_CACHE) blkcache_init, #endif run_main_loop, |