Page MenuHomeFreeBSD

Add a ofw_parse_bootargs function, and use it for powerpc
ClosedPublic

Authored by jhibbits on Sep 10 2016, 1:22 AM.
Tags
None
Referenced Files
F170666645: D7846.id20562.diff
Sat, Sep 5, 10:12 PM
F170637429: D7846.id20562.diff
Sat, Sep 5, 6:18 PM
F170617850: D7846.id20240.diff
Sat, Sep 5, 4:14 PM
F170567138: D7846.id.diff
Sat, Sep 5, 10:55 AM
Unknown Object (File)
Fri, Sep 4, 10:24 PM
Unknown Object (File)
Fri, Sep 4, 2:59 AM
Unknown Object (File)
Thu, Sep 3, 4:09 PM
Unknown Object (File)
Thu, Sep 3, 9:58 AM
Subscribers

Details

Summary

If the environment variable is set, U-boot adds a 'bootargs' property to
/chosen. This is already handled by ARM and MIPS, but should be handled in a
central location. For now, ofw_subr.c is a good place until we determine if it
should be moved to init_main.c, or somewhere more central to all architectures.

Eventually arm and mips should be modified to use ofw_parse_bootargs() as well,
rather than using the duplicate code already.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhibbits retitled this revision from to Add a ofw_parse_bootargs function, and use it for powerpc.
jhibbits updated this object.
jhibbits edited the test plan for this revision. (Show Details)
jhibbits added reviewers: andrew, adrian, nwhitehorn, bz.
adrian edited edge metadata.
This revision is now accepted and ready to land.Sep 15 2016, 3:41 PM
This revision was automatically updated to reflect the committed changes.