mb/google/poppy/variants/nami: Perform PL2 setting in variant_devtree_udpate
commite3011451cccece7668f95e59dfb6f61c878b7e0a
authorFurquan Shaikh <furquan@google.com>
Thu, 24 May 2018 04:27:33 +0000 (23 21:27 -0700)
committerFurquan Shaikh <furquan@google.com>
Fri, 25 May 2018 22:54:19 +0000 (25 22:54 +0000)
treea0d5df1c065332e41554a087996a8c6381e821bc
parente8620146d964df8e5adfb084ed503bef2d877321
mb/google/poppy/variants/nami: Perform PL2 setting in variant_devtree_udpate

This change moves PL2 override to variant_devtree_update for two reasons:
1. This function was added to basically override devtree settings in
variant specific code. So, it would be a good idea to perform all the
overrides in a single place.
2. Adding a device for performing nami_enable would require changes to
devicetree and special handling for calling this device enable. Thus,
nami_enable was never getting called.

BUG=b:80148703

Change-Id: Ifa24a7b6e99cad2368b3d656a757f26297373121
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26499
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/mainboard/google/poppy/variants/nami/Makefile.inc
src/mainboard/google/poppy/variants/nami/mainboard.c
src/mainboard/google/poppy/variants/nami/pl2.c [deleted file]