On 19 April 2016 at 14:59, Stephen Warren <[email protected]> wrote: > From: Stephen Warren <[email protected]> > > EMC scaling is specific to Tegra20. Move the code into tegra20/ to isolate > it. If it becomes more generic in the future, it should likely be moved > somewhere in drivers/, but at the least be reworked to have a leaner and > cleaner interface to its caller (i.e. fewer dependencies, interactions). > > Signed-off-by: Stephen Warren <[email protected]> > --- > arch/arm/mach-tegra/Makefile | 1 - > arch/arm/mach-tegra/board2.c | 6 ++++-- > arch/arm/mach-tegra/emc.c | 36 > ---------------------------------- > arch/arm/mach-tegra/emc.h | 27 ------------------------- > arch/arm/mach-tegra/tegra20/Makefile | 4 ++-- > arch/arm/mach-tegra/tegra20/emc.c | 34 +++++++++++++++++++++++++++++++- > arch/arm/mach-tegra/tegra20/emc.h | 14 +++++++++++++ > arch/arm/mach-tegra/tegra20/warmboot.c | 4 ++-- > include/configs/seaboard.h | 4 ++-- > 9 files changed, 57 insertions(+), 73 deletions(-) > delete mode 100644 arch/arm/mach-tegra/emc.c > delete mode 100644 arch/arm/mach-tegra/emc.h > create mode 100644 arch/arm/mach-tegra/tegra20/emc.h
Reviewed-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

