xref: /OK3568_Linux_fs/kernel/Documentation/sh/booting.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunDeviceTree Booting
4*4882a593Smuzhiyun------------------
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun  Device-tree compatible SH bootloaders are expected to provide the physical
7*4882a593Smuzhiyun  address of the device tree blob in r4. Since legacy bootloaders did not
8*4882a593Smuzhiyun  guarantee any particular initial register state, kernels built to
9*4882a593Smuzhiyun  inter-operate with old bootloaders must either use a builtin DTB or
10*4882a593Smuzhiyun  select a legacy board option (something other than CONFIG_SH_DEVICE_TREE)
11*4882a593Smuzhiyun  that does not use device tree. Support for the latter is being phased out
12*4882a593Smuzhiyun  in favor of device tree.
13