[U-Boot] [PATCH v4] ls1046ardb: SPL size reduction in case of non-xip boot
york sun
york.sun at nxp.com
Wed Mar 29 15:44:55 UTC 2017
On 03/29/2017 08:36 AM, Sumit Garg wrote:
<snip>
>>>
>>> diff --git a/include/configs/ls1046ardb.h
>>> b/include/configs/ls1046ardb.h index 2141b82..c01eb1f 100644
>>> --- a/include/configs/ls1046ardb.h
>>> +++ b/include/configs/ls1046ardb.h
>>> @@ -9,6 +9,18 @@
>>>
>>> #include "ls1046a_common.h"
>>>
>>> +/* SPL build */
>>> +#ifdef CONFIG_SPL_BUILD
>>> +#define SPL_NO_FMAN
>>> +#define SPL_NO_QSPI
>>> +#define SPL_NO_USB
>>> +#define SPL_NO_SATA
>>> +#define SPL_NO_ENV
>>> +#endif
>>> +#if (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SD_BOOT)) #define
>>> +SPL_NO_IFC #endif
>>
>> Are these RDB specific? Why not put this block into the common header?
>>
>> York
>
> Yes these macros are used to mask macros in RDB header file from inclusion during SPL build. Also this block can be put in common header but I am not sure how many of above macros relevant for the QDS header file.
Don't both boards have FMAN, QSPI, USB, SATA, ENV?
Please be aware, I have asked Mingkai to separate DPAA_FMAN from general
NET. I want to see the flexibility to use either PCIe network, and/or
DPAA network separately.
York
More information about the U-Boot
mailing list