[U-Boot] [PATCH v2 8/9] dm: core: Add ofnode to represent device tree nodes
Simon Glass
sjg at chromium.org
Sat May 13 01:11:13 UTC 2017
Hi Masahiro,
On 10 May 2017 at 20:33, Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
> 2017-05-02 0:18 GMT+09:00 Simon Glass <sjg at chromium.org>:
>
>> diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
>> new file mode 100644
>> index 0000000000..f952c989d2
>> --- /dev/null
>> +++ b/include/dm/ofnode.h
>> @@ -0,0 +1,100 @@
>> +/*
>> + * Copyright (c) 2017 Google, Inc
>> + * Written by Simon Glass <sjg at chromium.org>
>> + *
>> + * SPDX-License-Identifier: GPL-2.0+
>> + */
>> +
>> +#ifndef _DM_OFNODE_H
>> +#define _DM_OFNODE_H
>> +
>> +DECLARE_GLOBAL_DATA_PTR;
>
> Which line in this header references gd?
It is actually needed in dev.h when that is inlined. I originally had
to access it here but can move it.
Regards,
Simon
More information about the U-Boot
mailing list