From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 15 Dec 2019 08:36:49 +0800 Subject: [PATCH v7 04/17] x86: apl: Add hostbridge driver In-Reply-To: <20191208173929.v7.4.I5ba86662e42269ac50c05b6db34832a966dad79a@changeid> References: <20191208173929.v7.4.I5ba86662e42269ac50c05b6db34832a966dad79a@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Dec 9, 2019 at 8:40 AM Simon Glass wrote: > > This driver models the hostbridge as a northbridge. It simply sets up the > graphics BAR. It supports of-platdata. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v7: None > Changes in v6: > - Fix comments for struct apl_hostbridge_platdata > > Changes in v5: None > Changes in v4: > - Avoid needing to know internals of pinctrl in this driver > - Move code to pinctrl driver > - Switch over to use pinctrl for pad init/config > > Changes in v3: > - Move pad programming into the hostbridge to reduce TPL device-tree size > - Use pci_get_devfn() > > Changes in v2: None > > arch/x86/cpu/apollolake/Makefile | 1 + > arch/x86/cpu/apollolake/hostbridge.c | 179 +++++++++++++++++++++++++++ > 2 files changed, 180 insertions(+) > create mode 100644 arch/x86/cpu/apollolake/hostbridge.c > applied to u-boot-x86/next, thanks!