]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: cache: Remove weak functions
authorTom Rini <trini@konsulko.com>
Wed, 19 Jun 2024 21:27:59 +0000 (15:27 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 3 Jul 2024 20:42:01 +0000 (14:42 -0600)
commit7d6cee2cd0e2e2507aca1e3a6fe0e2cb241a116e
treee9816bcc5de59712ce557ab65600169746876730
parent280e54656f3e1a356baca02dc264d9d9407bf0a9
cmd: cache: Remove weak functions

It should be up to an architecture to decide how to implement cache
functions, and if they need to use weak functions or not. Allowing the
cache command to be built without cache functionality implemented is
unhelpful. Further, guard the call to noncached_set_region with
CONFIG_SYS_NONCACHED_MEMORY as that's when it's implemented and again is
an architecture specific detail.

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/cache.c