diff options
author | Tom Rini | 2021-08-30 09:16:30 -0400 |
---|---|---|
committer | Tom Rini | 2021-09-07 16:22:30 -0400 |
commit | 9774462e34faaa64a91eb9c68b438a52d22bba6a (patch) | |
tree | d084abcb2ab9208ef5eeccf96dd855bff731f39c /board/beckhoff/mx53cx9020/mx53cx9020.c | |
parent | b9d66a061b93e4679bd3afddb24413d5a51dabcc (diff) |
arm: Disable ATAGs support
With the exceptions of ds109, ds414, icnova-a20-swac, nokia_rx51 and
stemmy, disable ATAG support. A large number of platforms had enabled
support but never supported a kernel so old as to require it. Further,
some platforms are old enough to support both, but are well supported by
devicetree booting, and have been for a number of years. This is
because some of the ATAGs related functions have been re-used to provide
the same kind of information, but for devicetree or just generally to
inform the user. When needed still, rename these functions to
get_board_revision() instead, to avoid conflicts. In other cases, these
functions were simply unused, so drop them.
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Phil Sutter <phil@nwl.cc>
Cc: Stefan Bosch <stefan_b@posteo.net>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/beckhoff/mx53cx9020/mx53cx9020.c')
-rw-r--r-- | board/beckhoff/mx53cx9020/mx53cx9020.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/beckhoff/mx53cx9020/mx53cx9020.c b/board/beckhoff/mx53cx9020/mx53cx9020.c index a3657db8266..e7b131836b6 100644 --- a/board/beckhoff/mx53cx9020/mx53cx9020.c +++ b/board/beckhoff/mx53cx9020/mx53cx9020.c @@ -48,6 +48,7 @@ static const u32 CCAT_MODE_RUN = 0x0033DC8F; DECLARE_GLOBAL_DATA_PTR; +#ifdef CONFIG_REVISION_TAG u32 get_board_rev(void) { struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; @@ -59,6 +60,7 @@ u32 get_board_rev(void) return (get_cpu_rev() & ~(0xF << 8)) | (rev & 0xF) << 8; } +#endif /* * Set CCAT mode |